We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9cc091f commit 9084478Copy full SHA for 9084478
1 file changed
xla/service/hlo_verifier.cc
@@ -149,7 +149,7 @@ absl::Status ShapeVerifier::Preprocess(HloInstruction* hlo) {
149
hlo->ToString());
150
}
151
if (hlo->shape().has_layout()) {
152
- if (hlo->shape().layout().minor_to_major_size() !=
+ if (hlo->shape().layout().minor_to_major().size() !=
153
hlo->shape().dimensions().size()) {
154
return InvalidArgument(
155
"Instruction has mismatched minor-to-major size and dimension size: "
0 commit comments