Skip to content

Commit 9084478

Browse files
Automated Code Change
PiperOrigin-RevId: 772770279
1 parent 9cc091f commit 9084478

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

xla/service/hlo_verifier.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ absl::Status ShapeVerifier::Preprocess(HloInstruction* hlo) {
149149
hlo->ToString());
150150
}
151151
if (hlo->shape().has_layout()) {
152-
if (hlo->shape().layout().minor_to_major_size() !=
152+
if (hlo->shape().layout().minor_to_major().size() !=
153153
hlo->shape().dimensions().size()) {
154154
return InvalidArgument(
155155
"Instruction has mismatched minor-to-major size and dimension size: "

0 commit comments

Comments
 (0)