Skip to content

Commit 51b36ec

Browse files
chaya2350Copilot
andauthored
Update onnxruntime/core/providers/cpu/tensor/gather_nd.cc
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 63202cd commit 51b36ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

onnxruntime/core/providers/cpu/tensor/gather_nd.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ Status GatherNDBase::PrepareForCompute(const TensorShape& input_shape, const Ten
7575
if (num_slices % num_batches != 0) {
7676
return ORT_MAKE_STATUS(ONNXRUNTIME, INVALID_ARGUMENT,
7777
"GatherND: indices batch size (", num_slices,
78-
") must be divisible by input batch size (", num_batches, ")");
78+
") is not divisible by input batch size (", num_batches, ")");
7979
}
8080

8181
const auto input_batch_stride = input_shape.SizeFromDimension(SafeInt<size_t>(batch_dims_));

0 commit comments

Comments
 (0)