loadModel() — pytorch Function Reference
Architecture documentation for the loadModel() function in PytorchTestBase.java from the pytorch codebase.
Entity Profile
Dependency Diagram
graph TD fd3711c0_c2a1_0848_309d_ba2ef1be4466["loadModel()"] 4aadbba1_6ac3_340e_7e16_b96e93e45544["testForwardNull()"] 4aadbba1_6ac3_340e_7e16_b96e93e45544 -->|calls| fd3711c0_c2a1_0848_309d_ba2ef1be4466 e8e3c609_1dce_e835_9267_ac4034e8a5b9["testEqBool()"] e8e3c609_1dce_e835_9267_ac4034e8a5b9 -->|calls| fd3711c0_c2a1_0848_309d_ba2ef1be4466 82902fed_bef4_eff2_6aa5_f6d8e733b00a["testEqInt()"] 82902fed_bef4_eff2_6aa5_f6d8e733b00a -->|calls| fd3711c0_c2a1_0848_309d_ba2ef1be4466 c451d41e_f464_e4b1_265d_7f5297fbc41a["testEqFloat()"] c451d41e_f464_e4b1_265d_7f5297fbc41a -->|calls| fd3711c0_c2a1_0848_309d_ba2ef1be4466 500d1a47_0f5a_9b79_d08c_e88bcfdea1ff["testEqTensor()"] 500d1a47_0f5a_9b79_d08c_e88bcfdea1ff -->|calls| fd3711c0_c2a1_0848_309d_ba2ef1be4466 42124eff_d701_6daa_d428_81621d61a08a["testEqDictIntKeyIntValue()"] 42124eff_d701_6daa_d428_81621d61a08a -->|calls| fd3711c0_c2a1_0848_309d_ba2ef1be4466 68fe8e5d_795e_17f3_53d5_72161fc6b108["testEqDictStrKeyIntValue()"] 68fe8e5d_795e_17f3_53d5_72161fc6b108 -->|calls| fd3711c0_c2a1_0848_309d_ba2ef1be4466 79a4f525_c8b3_1121_0c29_125727461d5b["testListIntSumReturnTuple()"] 79a4f525_c8b3_1121_0c29_125727461d5b -->|calls| fd3711c0_c2a1_0848_309d_ba2ef1be4466 4091a4bf_7b11_af46_2fb5_e75d90b11bdf["testOptionalIntIsNone()"] 4091a4bf_7b11_af46_2fb5_e75d90b11bdf -->|calls| fd3711c0_c2a1_0848_309d_ba2ef1be4466 9aab1e08_2ec0_c139_69d0_1d2c90b3b3da["testIntEq0None()"] 9aab1e08_2ec0_c139_69d0_1d2c90b3b3da -->|calls| fd3711c0_c2a1_0848_309d_ba2ef1be4466 890998b1_ca13_8440_3d1f_3291bf325f5d["testRunUndefinedMethod()"] 890998b1_ca13_8440_3d1f_3291bf325f5d -->|calls| fd3711c0_c2a1_0848_309d_ba2ef1be4466 728507c2_528e_ef49_0e0b_2375dd266de9["testEqString()"] 728507c2_528e_ef49_0e0b_2375dd266de9 -->|calls| fd3711c0_c2a1_0848_309d_ba2ef1be4466 5cfffd29_cfb0_f46e_982f_8d4963fb47ad["testStr3Concat()"] 5cfffd29_cfb0_f46e_982f_8d4963fb47ad -->|calls| fd3711c0_c2a1_0848_309d_ba2ef1be4466 e1f3bcd4_5fe3_2583_c75e_f56a2ed7d3a4["testEmptyShape()"] e1f3bcd4_5fe3_2583_c75e_f56a2ed7d3a4 -->|calls| fd3711c0_c2a1_0848_309d_ba2ef1be4466 style fd3711c0_c2a1_0848_309d_ba2ef1be4466 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
android/pytorch_android/src/androidTest/java/org/pytorch/PytorchTestBase.java lines 693–693
protected abstract Module loadModel(String assetName) throws IOException;
Domain
Subdomains
Called By
- runModel()
- testAliasWithOffset()
- testChannelsLast()
- testChannelsLast3d()
- testChannelsLastConv2d()
- testChannelsLastConv3d()
- testEmptyShape()
- testEqBool()
- testEqDictIntKeyIntValue()
- testEqDictStrKeyIntValue()
- testEqFloat()
- testEqInt()
- testEqString()
- testEqTensor()
- testForwardNull()
- testIntEq0None()
- testListIntSumReturnTuple()
- testMobileNetV2()
- testNonContiguous()
- testOptionalIntIsNone()
- testRunUndefinedMethod()
- testStr3Concat()
Source
Frequently Asked Questions
What does loadModel() do?
loadModel() is a function in the pytorch codebase.
What calls loadModel()?
loadModel() is called by 22 function(s): runModel, testAliasWithOffset, testChannelsLast, testChannelsLast3d, testChannelsLastConv2d, testChannelsLastConv3d, testEmptyShape, testEqBool, and 14 more.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free