public class OpValidation extends Object
TestCase - Can be used to check op outputs, as well as gradientsOpTestCase - Used to check the output(s) of a single op onlyTestCase.expected(String, Function)| Constructor and Description |
|---|
OpValidation() |
| Modifier and Type | Method and Description |
|---|---|
static void |
logCoverageInformation(boolean logAdequatelyTested,
boolean logInadequate,
boolean logUnmappedLibnd4jOps)
Log the coverage information
|
static String |
validate(OpTestCase testCase)
Validate the outputs of a single op
|
static String |
validate(TestCase testCase)
Run test case
|
static String |
validate(TestCase testCase,
boolean exceptionsAsErrorMsg) |
public static String validate(TestCase testCase)
testCase - Test case to runpublic static String validate(OpTestCase testCase)
testCase - Op test case to runpublic static void logCoverageInformation(boolean logAdequatelyTested,
boolean logInadequate,
boolean logUnmappedLibnd4jOps)
logAdequatelyTested - If true: log details of each op that has both forward and (if appropriate) backward testslogInadequate - If false: log details of each op that does NOT have both forward and (if appropriate) backward testsCopyright © 2018. All rights reserved.