Uses of Class
org.nd4j.autodiff.validation.TestCase
-
Packages that use TestCase Package Description org.nd4j.autodiff.validation -
-
Uses of TestCase in org.nd4j.autodiff.validation
Methods in org.nd4j.autodiff.validation that return TestCase Modifier and Type Method Description TestCaseTestCase. expected(@NonNull String name, @NonNull INDArray output)Validate the output (forward pass) for a single variable using INDArray.equals(INDArray)TestCaseTestCase. expected(@NonNull SDVariable var, @NonNull INDArray output)Validate the output (forward pass) for a single variable using INDArray.equals(INDArray)TestCaseTestCase. expected(String name, Function<INDArray,String> validationFn)TestCaseTestCase. expected(SDVariable var, Function<INDArray,String> validationFn)TestCaseTestCase. expectedOutput(@NonNull String name, @NonNull INDArray expected)Validate the output (forward pass) for a single variable using INDArray.equals(INDArray)TestCaseTestCase. expectedOutput(@NonNull String name, @NonNull INDArray expected, double eps)Validate the output (forward pass) for a single variable using INDArray.equals(INDArray)TestCaseTestCase. expectedOutputRelError(@NonNull String name, @NonNull INDArray expected, double maxRelError, double minAbsError)Validate the output (forward pass) for a single variable using element-wise relative error: relError = abs(x-y)/(abs(x)+abs(y)), with x=y=0 case defined to be 0.0.TestCaseTestCase. gradCheckSkipVariables(String... toSkip)Specify the input variables that should NOT be gradient checked.TestCaseTestCase. placeholderValue(String variable, INDArray value)TestCaseTestCase. placeholderValues(Map<String,INDArray> placeholderValues)Methods in org.nd4j.autodiff.validation with parameters of type TestCase Modifier and Type Method Description static voidOpValidation. checkDeserializedEquality(SameDiff original, ByteBuffer bbSerialized, TestCase tc)static booleanGradCheckUtil. checkGradients(TestCase t)static StringOpValidation. validate(TestCase testCase)Run test casestatic StringOpValidation. validate(TestCase testCase, boolean exceptionsAsErrorMsg)
-