Another small fix (#175)
* Layer norm 4d case fixes Signed-off-by: AlexDBlack <blacka101@gmail.com> * Small fix Signed-off-by: AlexDBlack <blacka101@gmail.com>master
parent
dce4751fc1
commit
5cfbeb64ac
|
@ -341,8 +341,8 @@ public class OpValidation {
|
||||||
|
|
||||||
|
|
||||||
//Finally: check execution/output
|
//Finally: check execution/output
|
||||||
Map<String,INDArray> outOrig = original.execAll(tc.placeholderValues());
|
Map<String,INDArray> outOrig = original.outputAll(tc.placeholderValues());
|
||||||
Map<String,INDArray> outDe = deserialized.execAll(tc.placeholderValues());
|
Map<String,INDArray> outDe = deserialized.outputAll(tc.placeholderValues());
|
||||||
Preconditions.checkState(outOrig.keySet().equals(outDe.keySet()), "Keysets for execution after deserialization does not match key set for original model");
|
Preconditions.checkState(outOrig.keySet().equals(outDe.keySet()), "Keysets for execution after deserialization does not match key set for original model");
|
||||||
|
|
||||||
for(String s : outOrig.keySet()){
|
for(String s : outOrig.keySet()){
|
||||||
|
|
|
@ -64,6 +64,7 @@ public class DifferentialFunctionClassHolder {
|
||||||
add("outputVariables");
|
add("outputVariables");
|
||||||
add("tArguments");
|
add("tArguments");
|
||||||
add("iArguments");
|
add("iArguments");
|
||||||
|
add("bArguments");
|
||||||
add("hash");
|
add("hash");
|
||||||
add("opName");
|
add("opName");
|
||||||
add("sameDiff");
|
add("sameDiff");
|
||||||
|
|
Loading…
Reference in New Issue