tensorflow/compiler/mlir/tensorflow/utils/tpu_rewrite_device_util.cc
// Creates error message for an out of bound device coordinate.
Creates error message for an out of bound device coordinate.
Creates error message for an out of bound device coordinate .
Status DeviceCoordinateErrorMsg(absl::string_view attribute, int x, int y,
                                int z, int core, int bound_x, int bound_y,
                                int bound_z, int bound_core) {
  return errors::InvalidArgument("device coordinate (", x, ", ", y, ", ", z,
                                 ", ", core, ") in '", attribute,
                                 "' is outside of mesh shape (", bound_x, ", ",
                                 bound_y, ", ", bound_z, ", ", bound_core, ")");
}
Status DeviceCoordinateErrorMsg ( absl :: string_view attribute , int x , int y , int z , int core , int bound_x , int bound_y , int bound_z , int bound_core ) { return errors :: InvalidArgument ( " " , x , " " , y , " " , z , " " , core , " " , attribute , " " , bound_x , " " , bound_y , " " , bound_z , " " , bound_core , " " ) ; }
Creates error message for an out of bound device coordinate.
Creates error message for an out of bound device coordinate .