runModel() — pytorch Function Reference
Architecture documentation for the runModel() function in PytorchTestBase.java from the pytorch codebase.
Entity Profile
Dependency Diagram
graph TD a8062cd0_1ad1_80fc_38f9_72bf8bdb9051["runModel()"] fe9b2189_605d_a08e_c3f7_d2c3389c9016["testPointwiseOps()"] fe9b2189_605d_a08e_c3f7_d2c3389c9016 -->|calls| a8062cd0_1ad1_80fc_38f9_72bf8bdb9051 bce1283b_3c42_658b_9eff_c414bdc72998["testReductionOps()"] bce1283b_3c42_658b_9eff_c414bdc72998 -->|calls| a8062cd0_1ad1_80fc_38f9_72bf8bdb9051 a8a7ca9f_65bb_3265_6a39_2f1eda99bb11["testComparisonOps()"] a8a7ca9f_65bb_3265_6a39_2f1eda99bb11 -->|calls| a8062cd0_1ad1_80fc_38f9_72bf8bdb9051 59feba35_2587_1b20_7069_7c0fd67400e0["testOtherMathOps()"] 59feba35_2587_1b20_7069_7c0fd67400e0 -->|calls| a8062cd0_1ad1_80fc_38f9_72bf8bdb9051 052d88df_f281_6440_6017_bb720bd00058["testSpectralOps()"] 052d88df_f281_6440_6017_bb720bd00058 -->|calls| a8062cd0_1ad1_80fc_38f9_72bf8bdb9051 ca6d5ef5_984f_0859_ea0b_a747aba3fcc5["testBlasLapackOps()"] ca6d5ef5_984f_0859_ea0b_a747aba3fcc5 -->|calls| a8062cd0_1ad1_80fc_38f9_72bf8bdb9051 430ee142_be6c_f199_2795_832885e14d28["testSamplingOps()"] 430ee142_be6c_f199_2795_832885e14d28 -->|calls| a8062cd0_1ad1_80fc_38f9_72bf8bdb9051 6be145fc_df56_f53e_7533_31378804d287["testTensorOps()"] 6be145fc_df56_f53e_7533_31378804d287 -->|calls| a8062cd0_1ad1_80fc_38f9_72bf8bdb9051 8b94df6f_6511_8c19_538a_153d2248ddcb["testTensorCreationOps()"] 8b94df6f_6511_8c19_538a_153d2248ddcb -->|calls| a8062cd0_1ad1_80fc_38f9_72bf8bdb9051 07865da6_30ad_1ec1_1038_efe7fa64b618["testTensorIndexingOps()"] 07865da6_30ad_1ec1_1038_efe7fa64b618 -->|calls| a8062cd0_1ad1_80fc_38f9_72bf8bdb9051 8d4756a9_2638_03f6_e778_d2b3f363dc1b["testTensorTypingOps()"] 8d4756a9_2638_03f6_e778_d2b3f363dc1b -->|calls| a8062cd0_1ad1_80fc_38f9_72bf8bdb9051 46bef6da_fbde_33ee_da8c_f3b9f00f5ef7["testTensorViewOps()"] 46bef6da_fbde_33ee_da8c_f3b9f00f5ef7 -->|calls| a8062cd0_1ad1_80fc_38f9_72bf8bdb9051 cd000bca_729b_3439_19db_49bd96a728c3["testConvolutionOps()"] cd000bca_729b_3439_19db_49bd96a728c3 -->|calls| a8062cd0_1ad1_80fc_38f9_72bf8bdb9051 521e31c2_2705_61b6_c655_22b55660e576["testPoolingOps()"] 521e31c2_2705_61b6_c655_22b55660e576 -->|calls| a8062cd0_1ad1_80fc_38f9_72bf8bdb9051 style a8062cd0_1ad1_80fc_38f9_72bf8bdb9051 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
android/pytorch_android/src/androidTest/java/org/pytorch/PytorchTestBase.java lines 683–691
void runModel(final String name) throws IOException {
final Module storage_module = loadModel(name + ".ptl");
storage_module.forward();
// TODO enable this once the on-the-fly script is ready
// final Module on_the_fly_module = loadModel(name + "_temp.ptl");
// on_the_fly_module.forward();
assertTrue(true);
}
Domain
Subdomains
Calls
Called By
- testActivationOps()
- testBlasLapackOps()
- testComparisonOps()
- testConvolutionOps()
- testDistanceFunctionOps()
- testDropoutOps()
- testDynamicQuantOps()
- testFusedQuantOps()
- testLinearOps()
- testLossFunctionOps()
- testNNUtilsOps()
- testNormalizationOps()
- testOtherMathOps()
- testPaddingOps()
- testPointwiseOps()
- testPoolingOps()
- testQuantOps()
- testRecurrentOps()
- testReductionOps()
- testSamplingOps()
- testShuffleOps()
- testSparseOps()
- testSpectralOps()
- testStaticQuantOps()
- testTensorCreationOps()
- testTensorIndexingOps()
- testTensorOps()
- testTensorTypingOps()
- testTensorViewOps()
- testTorchScriptBuiltinQuantOps()
- testTorchScriptCollectionQuantOps()
- testTransformerOps()
- testVisionFunctionOps()
Source
Frequently Asked Questions
What does runModel() do?
runModel() is a function in the pytorch codebase.
What does runModel() call?
runModel() calls 1 function(s): loadModel.
What calls runModel()?
runModel() is called by 33 function(s): testActivationOps, testBlasLapackOps, testComparisonOps, testConvolutionOps, testDistanceFunctionOps, testDropoutOps, testDynamicQuantOps, testFusedQuantOps, and 25 more.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free