Skip to content

Commit

Permalink
Automated Code Change
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 627346724
  • Loading branch information
tensorflower-gardener committed Apr 23, 2024
1 parent 39ebc87 commit d29aa6a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tensorflow/lite/delegates/flex/delegate.cc
Expand Up @@ -69,7 +69,7 @@ TfLiteStatus FlexDelegate::Initialize(TfLiteContext* context) {
base_delegate_);
if (!status.ok()) {
TF_LITE_KERNEL_LOG(context, "Failed to initialize TensorFlow context: %s",
tsl::NullTerminatedMessage(status));
absl::StatusMessageAsCStr(status));
return kTfLiteError;
}

Expand Down
2 changes: 1 addition & 1 deletion tensorflow/lite/delegates/flex/util.cc
Expand Up @@ -34,7 +34,7 @@ static constexpr char kResourceVariablePrefix[] = "tflite_resource_variable";
TfLiteStatus ConvertStatus(TfLiteContext* context,
const tensorflow::Status& status) {
if (!status.ok()) {
TF_LITE_KERNEL_LOG(context, "%s", tsl::NullTerminatedMessage(status));
TF_LITE_KERNEL_LOG(context, "%s", absl::StatusMessageAsCStr(status));
return kTfLiteError;
}
return kTfLiteOk;
Expand Down

0 comments on commit d29aa6a

Please sign in to comment.