|
|
|
@@ -690,9 +690,8 @@ int load_torchscript(const std::string& ptpath, Graph& pnnx_graph, |
|
|
|
input_tensors2.push_back(t); |
|
|
|
} |
|
|
|
} |
|
|
|
else |
|
|
|
else if(input_shapes2.size() != 0) |
|
|
|
{ |
|
|
|
std::vector<at::Tensor> input_tensors2; |
|
|
|
for (size_t i = 0; i < input_shapes2.size(); i++) |
|
|
|
{ |
|
|
|
const std::vector<int64_t>& shape = input_shapes2[i]; |
|
|
|
|