We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 452eba9 commit 7315a31Copy full SHA for 7315a31
src/libtorch.cc
@@ -2143,7 +2143,7 @@ ModelInstanceState::SetInputTensors(
2143
(*input_tensors)[input_index_map_[input_name]] = input_tensor;
2144
} else {
2145
// torch:from_blob seems not working when the input size is 0
2146
- // create zero-lenght inputs directly
+ // create zero-length inputs directly
2147
torch::Tensor input_tensor =
2148
torch::zeros(batchn_shape, updated_options);
2149
0 commit comments