testIntEq0None() — pytorch Function Reference
Architecture documentation for the testIntEq0None() function in PytorchTestBase.java from the pytorch codebase.
Entity Profile
Dependency Diagram
graph TD 9aab1e08_2ec0_c139_69d0_1d2c90b3b3da["testIntEq0None()"] fd3711c0_c2a1_0848_309d_ba2ef1be4466["loadModel()"] 9aab1e08_2ec0_c139_69d0_1d2c90b3b3da -->|calls| fd3711c0_c2a1_0848_309d_ba2ef1be4466 style 9aab1e08_2ec0_c139_69d0_1d2c90b3b3da fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
android/pytorch_android/src/androidTest/java/org/pytorch/PytorchTestBase.java lines 188–194
@Test
public void testIntEq0None() throws IOException {
final Module module = loadModel(TEST_MODULE_ASSET_NAME);
assertTrue(module.runMethod("intEq0None", IValue.from(0l)).isNull());
assertTrue(module.runMethod("intEq0None", IValue.from(1l)).toLong() == 1l);
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does testIntEq0None() do?
testIntEq0None() is a function in the pytorch codebase.
What does testIntEq0None() call?
testIntEq0None() 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