tensorflow/lite/toco/toco_port.cc
// Conversion to our wrapper Status.
Conversion to our wrapper Status.
Conversion to our wrapper Status .
tensorflow::Status ToStatus(const absl::Status& uts) {
  if (!uts.ok()) {
    return tensorflow::Status(
        tensorflow::errors::Code(::util::RetrieveErrorCode(uts)),
        uts.error_message());
  }
  return tensorflow::Status::OK();
}
tensorflow :: Status ToStatus ( const absl :: Status & uts ) { if ( ! uts . ok ( ) ) { return tensorflow :: Status ( tensorflow :: errors :: Code ( :: util :: RetrieveErrorCode ( uts ) ) , uts . error_message ( ) ) ; } return tensorflow :: Status :: OK ( ) ; }
Conversion to our wrapper Status.
Conversion to our wrapper Status .