Skip to content

Commit 4e627a8

Browse files
Update src/relax/op/tensor/index.cc
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent 61d003d commit 4e627a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/relax/op/tensor/index.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ StructInfo InferStructInfoTake(const Call& call, const BlockBuilder& ctx) {
8484
}();
8585

8686
if (indices_sinfo->IsUnknownDtype()) {
87-
LOG(WARNING) << "Data type of index has not been specified. Assume it has an integer type.";
87+
LOG(WARNING) << "Data type of indices has not been specified. Assume it has an integer type.";
8888
} else if (!(indices_sinfo->dtype.is_int() || indices_sinfo->dtype.is_uint())) {
8989
ctx->ReportFatal(Diagnostic::Error(call)
9090
<< "Take op requires the input indices to have integer dtype. However, the "

0 commit comments

Comments
 (0)