Uses of Class
org.nd4j.linalg.util.ND4JTestUtils.ComparisonResult
-
Packages that use ND4JTestUtils.ComparisonResult Package Description org.nd4j.linalg.util -
-
Uses of ND4JTestUtils.ComparisonResult in org.nd4j.linalg.util
Methods in org.nd4j.linalg.util that return ND4JTestUtils.ComparisonResult Modifier and Type Method Description static ND4JTestUtils.ComparisonResultND4JTestUtils. validateSerializedArrays(File dir1, File dir2, boolean recursive)Scan the specified directories for matching files (i.e., same path relative to their respective root directories) and compare the contents using INDArray.equals (viaND4JTestUtils.EqualsFnAssumes the saved files represent INDArrays saved withNd4j.saveBinary(INDArray, File)static ND4JTestUtils.ComparisonResultND4JTestUtils. validateSerializedArrays(File dir1, File dir2, boolean recursive, BiFunction<INDArray,INDArray,Boolean> evalFn)Scan the specified directories for matching files (i.e., same path relative to their respective root directories) and compare the contents using a provided function.
Assumes the saved files represent INDArrays saved withNd4j.saveBinary(INDArray, File)
-