Uses of Class
org.nd4j.autodiff.validation.OpTestCase
-
Packages that use OpTestCase Package Description org.nd4j.autodiff.validation -
-
Uses of OpTestCase in org.nd4j.autodiff.validation
Methods in org.nd4j.autodiff.validation that return OpTestCase Modifier and Type Method Description OpTestCaseOpTestCase. expectedOutput(int outputNum, @NonNull LongShapeDescriptor expShape, @NonNull Function<INDArray,String> validationFn)OpTestCaseOpTestCase. expectedOutput(int outputNum, INDArray expected)Validate the op output using INDArray.equals(INDArray)OpTestCaseOpTestCase. expectedOutput(int outputNum, INDArray expected, double eps)Validate the op output using INDArray.equals(INDArray)OpTestCaseOpTestCase. expectedOutputRelError(int outputNum, @NonNull INDArray expected, double maxRelError, double minAbsError)Validate the output 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.Methods in org.nd4j.autodiff.validation with parameters of type OpTestCase Modifier and Type Method Description static StringOpValidation. validate(OpTestCase testCase)Validate the outputs of a single op
-