Skip to content

Commit 7315a31

Browse files
committed
Typo
1 parent 452eba9 commit 7315a31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libtorch.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2143,7 +2143,7 @@ ModelInstanceState::SetInputTensors(
21432143
(*input_tensors)[input_index_map_[input_name]] = input_tensor;
21442144
} else {
21452145
// torch:from_blob seems not working when the input size is 0
2146-
// create zero-lenght inputs directly
2146+
// create zero-length inputs directly
21472147
torch::Tensor input_tensor =
21482148
torch::zeros(batchn_shape, updated_options);
21492149
(*input_tensors)[input_index_map_[input_name]] = input_tensor;

0 commit comments

Comments
 (0)