testOptionalIntIsNone() — pytorch Function Reference
Architecture documentation for the testOptionalIntIsNone() function in PytorchTestBase.java from the pytorch codebase.
Entity Profile
Dependency Diagram
graph TD 4091a4bf_7b11_af46_2fb5_e75d90b11bdf["testOptionalIntIsNone()"] fd3711c0_c2a1_0848_309d_ba2ef1be4466["loadModel()"] 4091a4bf_7b11_af46_2fb5_e75d90b11bdf -->|calls| fd3711c0_c2a1_0848_309d_ba2ef1be4466 style 4091a4bf_7b11_af46_2fb5_e75d90b11bdf fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
android/pytorch_android/src/androidTest/java/org/pytorch/PytorchTestBase.java lines 180–186
@Test
public void testOptionalIntIsNone() throws IOException {
final Module module = loadModel(TEST_MODULE_ASSET_NAME);
assertFalse(module.runMethod("optionalIntIsNone", IValue.from(1l)).toBool());
assertTrue(module.runMethod("optionalIntIsNone", IValue.optionalNull()).toBool());
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does testOptionalIntIsNone() do?
testOptionalIntIsNone() is a function in the pytorch codebase.
What does testOptionalIntIsNone() call?
testOptionalIntIsNone() calls 1 function(s): loadModel.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free