Home
last modified time | relevance | path

Searched refs:testModelFile (Results 1 – 6 of 6) sorted by relevance

/aosp_15_r20/external/pytorch/test/mobile/lightweight_dispatch/
H A Dtest_codegen_unboxing.cpp64 auto testModelFile = "ModelWithDTypeDeviceLayoutPinMemory.ptl"; in TEST() local
70 Module bc = _load_for_mobile(testModelFile); in TEST()
79 auto testModelFile = "ModelWithTensorOptional.ptl"; in TEST() local
88 Module bc = _load_for_mobile(testModelFile); in TEST()
102 auto testModelFile = "ModelWithScalarList.ptl"; in TEST() local
111 Module bc = _load_for_mobile(testModelFile); in TEST()
124 auto testModelFile = "ModelWithFloatList.ptl"; in TEST() local
127 Module bc = _load_for_mobile(testModelFile); in TEST()
136 auto testModelFile = "ModelWithListOfOptionalTensors.ptl"; in TEST() local
142 Module bc = _load_for_mobile(testModelFile); in TEST()
[all …]
/aosp_15_r20/external/pytorch/test/cpp/lite_interpreter_runtime/
H A Dtest_lite_interpreter_runtime.cpp20 auto testModelFile = filePath.substr(0, filePath.find_last_of("/\\") + 1); in TEST() local
21 testModelFile.append("sequence.ptl"); in TEST()
47 Module bc = _load_for_mobile(testModelFile); in TEST()
57 auto testModelFile = filePath.substr(0, filePath.find_last_of("/\\") + 1); in TEST() local
68 testModelFile.append("delegate_test.ptl"); in TEST()
69 auto mlm = _load_for_mobile(testModelFile); in TEST()
80 auto testModelFile = filePath.substr(0, filePath.find_last_of("/\\") + 1); in TEST() local
140 testModelFile.append("delegated_submodule_with_debug_info.ptl"); in TEST()
141 auto mlm = _load_for_mobile(testModelFile); in TEST()
H A Dtest_mobile_profiler.cpp48 auto testModelFile = torch::testing::getResourcePath( in TEST() local
56 mobile::Module bc = _load_for_mobile(testModelFile.string()); in TEST()
102 auto testModelFile = torch::testing::getResourcePath( in TEST() local
110 mobile::Module bc = _load_for_mobile(testModelFile.string()); in TEST()
136 auto testModelFile = torch::testing::getResourcePath( in TEST() local
144 mobile::Module bc = _load_for_mobile(testModelFile.string()); in TEST()
168 auto testModelFile = torch::testing::getResourcePath( in TEST() local
180 mobile::Module bc = _load_for_mobile(testModelFile.string()); in TEST()
/aosp_15_r20/external/pytorch/test/cpp/jit/
H A Dtest_graph_executor.cpp49 auto testModelFile = filePath.substr(0, filePath.find_last_of("/\\") + 1); in TEST() local
50 testModelFile.append("test_interpreter_async.pt"); in TEST()
51 auto module = load(testModelFile); in TEST()
H A Dtest_interpreter.cpp202 auto testModelFile = filePath.substr(0, filePath.find_last_of("/\\") + 1); in TEST() local
203 testModelFile.append("test_interpreter_async.pt"); in TEST()
204 auto model = load(testModelFile); in TEST()
H A Dtest_module_api.cpp57 auto testModelFile = filePath.substr(0, filePath.find_last_of("/\\") + 1); in TEST() local
59 testModelFile.append("test_interpreter_async.pt"); in TEST()
60 auto m = load(testModelFile); in TEST()