|
8 | 8 |
|
9 | 9 | TEST(CppAPITests, TestCollectionStandardTensorInput) { |
10 | 10 |
|
11 | | - std::string path = "tests/modules/standard_tensor_input.jit.pt"; |
| 11 | + std::string path = "tests/modules/standard_tensor_input_scripted.jit.pt"; |
12 | 12 | torch::Tensor in0 = torch::randn({1, 3, 512, 512}, torch::kCUDA).to(torch::kHalf); |
13 | 13 | std::vector<at::Tensor> inputs; |
14 | 14 | inputs.push_back(in0); |
@@ -53,7 +53,7 @@ TEST(CppAPITests, TestCollectionStandardTensorInput) { |
53 | 53 |
|
54 | 54 | TEST(CppAPITests, TestCollectionTupleInput) { |
55 | 55 |
|
56 | | - std::string path = "tests/modules/tuple_input.jit.pt"; |
| 56 | + std::string path = "tests/modules/tuple_input_scripted.jit.pt"; |
57 | 57 | torch::Tensor in0 = torch::randn({1, 3, 512, 512}, torch::kCUDA).to(torch::kHalf); |
58 | 58 |
|
59 | 59 | torch::jit::Module mod; |
@@ -103,7 +103,7 @@ TEST(CppAPITests, TestCollectionTupleInput) { |
103 | 103 |
|
104 | 104 | TEST(CppAPITests, TestCollectionListInput) { |
105 | 105 |
|
106 | | - std::string path = "tests/modules/list_input.jit.pt"; |
| 106 | + std::string path = "tests/modules/list_input_scripted.jit.pt"; |
107 | 107 | torch::Tensor in0 = torch::randn({1, 3, 512, 512}, torch::kCUDA).to(torch::kHalf); |
108 | 108 | std::vector<at::Tensor> inputs; |
109 | 109 | inputs.push_back(in0); |
@@ -169,7 +169,7 @@ TEST(CppAPITests, TestCollectionListInput) { |
169 | 169 |
|
170 | 170 | TEST(CppAPITests, TestCollectionTupleInputOutput) { |
171 | 171 |
|
172 | | - std::string path = "tests/modules/tuple_input_output.jit.pt"; |
| 172 | + std::string path = "tests/modules/tuple_input_output_scripted.jit.pt"; |
173 | 173 |
|
174 | 174 | torch::Tensor in0 = torch::randn({1, 3, 512, 512}, torch::kCUDA).to(torch::kHalf); |
175 | 175 |
|
@@ -224,7 +224,7 @@ TEST(CppAPITests, TestCollectionTupleInputOutput) { |
224 | 224 |
|
225 | 225 | TEST(CppAPITests, TestCollectionListInputOutput) { |
226 | 226 |
|
227 | | - std::string path = "tests/modules/list_input_output.jit.pt"; |
| 227 | + std::string path = "tests/modules/list_input_output_scripted.jit.pt"; |
228 | 228 | torch::Tensor in0 = torch::randn({1, 3, 512, 512}, torch::kCUDA).to(torch::kHalf); |
229 | 229 | std::vector<at::Tensor> inputs; |
230 | 230 | inputs.push_back(in0); |
@@ -295,7 +295,7 @@ TEST(CppAPITests, TestCollectionListInputOutput) { |
295 | 295 |
|
296 | 296 | TEST(CppAPITests, TestCollectionComplexModel) { |
297 | 297 |
|
298 | | - std::string path = "tests/modules/complex_model.jit.pt"; |
| 298 | + std::string path = "tests/modules/list_input_tuple_output_scripted.jit.pt"; |
299 | 299 | torch::Tensor in0 = torch::randn({1, 3, 512, 512}, torch::kCUDA).to(torch::kHalf); |
300 | 300 | std::vector<at::Tensor> inputs; |
301 | 301 | inputs.push_back(in0); |
|
0 commit comments