| Package | Description |
|---|---|
| org.nd4j.linalg.util |
| Modifier and Type | Method and Description |
|---|---|
static ND4JTestUtils.ComparisonResult |
ND4JTestUtils.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 (via
ND4JTestUtils.EqualsFn
Assumes the saved files represent INDArrays saved with Nd4j.saveBinary(INDArray, File) |
static ND4JTestUtils.ComparisonResult |
ND4JTestUtils.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 with Nd4j.saveBinary(INDArray, File) |
Copyright © 2021. All rights reserved.