loadModel() — pytorch Function Reference
Architecture documentation for the loadModel() function in PytorchTestBase.java from the pytorch codebase.
Entity Profile
Dependency Diagram
graph TD 9f728842_eeeb_dcbf_a87a_1decf4b380f8["loadModel()"] 4d9f6bfa_90d1_e435_d61b_cc27f466b792["testForwardNull()"] 4d9f6bfa_90d1_e435_d61b_cc27f466b792 -->|calls| 9f728842_eeeb_dcbf_a87a_1decf4b380f8 1ab55162_96f1_c4d5_eeef_321bc50ce11f["testEqBool()"] 1ab55162_96f1_c4d5_eeef_321bc50ce11f -->|calls| 9f728842_eeeb_dcbf_a87a_1decf4b380f8 21260c04_f1ed_0ad6_72df_38ab6df851ee["testEqInt()"] 21260c04_f1ed_0ad6_72df_38ab6df851ee -->|calls| 9f728842_eeeb_dcbf_a87a_1decf4b380f8 ca764449_5f60_2b7d_161d_cdd17b85c8fe["testEqFloat()"] ca764449_5f60_2b7d_161d_cdd17b85c8fe -->|calls| 9f728842_eeeb_dcbf_a87a_1decf4b380f8 24196e64_292f_1647_f6b2_3097f27373f2["testEqTensor()"] 24196e64_292f_1647_f6b2_3097f27373f2 -->|calls| 9f728842_eeeb_dcbf_a87a_1decf4b380f8 41340266_4f4d_450c_b376_860a2ea2a130["testEqDictIntKeyIntValue()"] 41340266_4f4d_450c_b376_860a2ea2a130 -->|calls| 9f728842_eeeb_dcbf_a87a_1decf4b380f8 308e6a8b_6854_f6ad_2c56_215b8ecbec55["testEqDictStrKeyIntValue()"] 308e6a8b_6854_f6ad_2c56_215b8ecbec55 -->|calls| 9f728842_eeeb_dcbf_a87a_1decf4b380f8 4ee753ff_ee1c_c414_22b5_eb57f28eae17["testListIntSumReturnTuple()"] 4ee753ff_ee1c_c414_22b5_eb57f28eae17 -->|calls| 9f728842_eeeb_dcbf_a87a_1decf4b380f8 67907250_27df_f15e_7c2e_5bdea7352f9c["testOptionalIntIsNone()"] 67907250_27df_f15e_7c2e_5bdea7352f9c -->|calls| 9f728842_eeeb_dcbf_a87a_1decf4b380f8 b19b8723_f870_e573_6a03_21fa3d01b9ed["testIntEq0None()"] b19b8723_f870_e573_6a03_21fa3d01b9ed -->|calls| 9f728842_eeeb_dcbf_a87a_1decf4b380f8 42fd4b6f_6abe_ef1a_5581_c448cdb2a26a["testRunUndefinedMethod()"] 42fd4b6f_6abe_ef1a_5581_c448cdb2a26a -->|calls| 9f728842_eeeb_dcbf_a87a_1decf4b380f8 616afe1b_dc77_7634_34af_73596c150971["testEqString()"] 616afe1b_dc77_7634_34af_73596c150971 -->|calls| 9f728842_eeeb_dcbf_a87a_1decf4b380f8 f1aeb224_1aaa_aad1_f117_5509697bd46f["testStr3Concat()"] f1aeb224_1aaa_aad1_f117_5509697bd46f -->|calls| 9f728842_eeeb_dcbf_a87a_1decf4b380f8 255176b0_8ddb_72f9_69bd_dcb5be1f1990["testEmptyShape()"] 255176b0_8ddb_72f9_69bd_dcb5be1f1990 -->|calls| 9f728842_eeeb_dcbf_a87a_1decf4b380f8 style 9f728842_eeeb_dcbf_a87a_1decf4b380f8 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