message: Report incompatible shapes in case of check failure.
diff: @@ -81,7 +81,10 @@ OperandLayoutConstraint::OperandLayoutConstraint(
  operand_no_(operand_no) {
  CHECK(shape_layout_.LayoutIsSet());
  CHECK(ShapeUtil::Compatible(shape_layout.shape(),
  - instruction->operand(operand_no)->shape()));
  + instruction->operand(operand_no)->shape()))
  + << shape_layout.shape() << " is not compatible with "
  + << instruction->operand(operand_no)->shape() << " (for operand "
  + << operand_no << " of instruction " << instruction->ToString() << ")";
  }
  string OperandLayoutConstraint::ToString() const {
  