testForwardNull() — pytorch Function Reference
Architecture documentation for the testForwardNull() function in PytorchTestBase.java from the pytorch codebase.
Entity Profile
Dependency Diagram
graph TD 4aadbba1_6ac3_340e_7e16_b96e93e45544["testForwardNull()"] fd3711c0_c2a1_0848_309d_ba2ef1be4466["loadModel()"] 4aadbba1_6ac3_340e_7e16_b96e93e45544 -->|calls| fd3711c0_c2a1_0848_309d_ba2ef1be4466 style 4aadbba1_6ac3_340e_7e16_b96e93e45544 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
android/pytorch_android/src/androidTest/java/org/pytorch/PytorchTestBase.java lines 18–25
@Test
public void testForwardNull() throws IOException {
final Module module = loadModel(TEST_MODULE_ASSET_NAME);
final IValue input = IValue.from(Tensor.fromBlob(Tensor.allocateByteBuffer(1), new long[] {1}));
assertTrue(input.isTensor());
final IValue output = module.forward(input);
assertTrue(output.isNull());
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does testForwardNull() do?
testForwardNull() is a function in the pytorch codebase.
What does testForwardNull() call?
testForwardNull() 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