From dfec54242dcffe29e669838da13bc9578756e5de Mon Sep 17 00:00:00 2001 From: Robert Altena Date: Fri, 2 Aug 2019 14:13:00 +0900 Subject: [PATCH] createUninitializedDetached refactoring. (#94) * wip * update interface, add null implementations. * Breaking one test in a weird way. Signed-off-by: Robert Altena * createUninitializedDetached refactored. Signed-off-by: Robert Altena --- .../nn/layers/ocnn/OCNNOutputLayer.java | 2 +- .../nd4j/linalg/factory/NDArrayFactory.java | 15 +++++----- .../java/org/nd4j/linalg/factory/Nd4j.java | 30 +++++++++---------- .../cpu/nativecpu/CpuNDArrayFactory.java | 13 ++------ .../nativecpu/CpuSparseNDArrayFactory.java | 7 +---- .../linalg/workspace/BasicWorkspaceTests.java | 2 +- 6 files changed, 27 insertions(+), 42 deletions(-) diff --git a/deeplearning4j/deeplearning4j-nn/src/main/java/org/deeplearning4j/nn/layers/ocnn/OCNNOutputLayer.java b/deeplearning4j/deeplearning4j-nn/src/main/java/org/deeplearning4j/nn/layers/ocnn/OCNNOutputLayer.java index b8296e43d..04d3345ed 100644 --- a/deeplearning4j/deeplearning4j-nn/src/main/java/org/deeplearning4j/nn/layers/ocnn/OCNNOutputLayer.java +++ b/deeplearning4j/deeplearning4j-nn/src/main/java/org/deeplearning4j/nn/layers/ocnn/OCNNOutputLayer.java @@ -135,7 +135,7 @@ public class OCNNOutputLayer extends BaseOutputLayer