parent
bf10564be7
commit
8d31caffbe
|
@ -167,7 +167,7 @@ public class App {
|
|||
trainData.reset();
|
||||
|
||||
int j = 0;
|
||||
for (int i = 0; i < 10; i++) {
|
||||
for (int i = 0; i < 20; i++) {
|
||||
while (trainData.hasNext()) {
|
||||
j++;
|
||||
|
||||
|
|
|
@ -4877,7 +4877,7 @@ public class Nd4j {
|
|||
* Create an ndarray of zeros
|
||||
*
|
||||
* @param shape the shape of the array
|
||||
* @return an ndarray with ones filled in
|
||||
* @return an ndarray with zeros filled in
|
||||
*/
|
||||
public static INDArray zeros(int[] shape, char order) {
|
||||
checkShapeValues(shape);
|
||||
|
@ -4896,7 +4896,7 @@ public class Nd4j {
|
|||
* Create an ndarray of zeros
|
||||
*
|
||||
* @param shape the shape of the array
|
||||
* @return an ndarray with ones filled in
|
||||
* @return an ndarray with zeros filled in
|
||||
*/
|
||||
public static INDArray zeros(@NonNull int... shape) {
|
||||
return Nd4j.create(shape);
|
||||
|
@ -4907,7 +4907,7 @@ public class Nd4j {
|
|||
* Create an ndarray of zeros
|
||||
*
|
||||
* @param shape the shape of the array
|
||||
* @return an ndarray with ones filled in
|
||||
* @return an ndarray with zeros filled in
|
||||
*/
|
||||
public static INDArray zeros(@NonNull long... shape) {
|
||||
return Nd4j.create(shape);
|
||||
|
|
|
@ -105,7 +105,8 @@ public class DL4JClassLoading {
|
|||
|
||||
throw new RuntimeException(instantiationException);
|
||||
} catch (InvocationTargetException instantiationException) {
|
||||
log.error(String.format("InvocationTargetException was '%s'.", instantiationException.getTargetException().getMessage()), instantiationException);
|
||||
log.error(String.format("---------- ----------- ---------- \nInvocationTargetException was '%s'.", instantiationException.getTargetException().getMessage()), instantiationException);
|
||||
log.error(String.format("java.library.path was '%s'\n---------- ---------- ----------", System.getProperty("java.library.path")));
|
||||
throw new RuntimeException(instantiationException);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue