Automated Code Change

PiperOrigin-RevId: 825940381
This commit is contained in:
A. Unique TensorFlower 2025-10-30 02:33:47 -07:00 committed by TensorFlower Gardener
parent 1fa646265a
commit cfa7953589
2 changed files with 2 additions and 4 deletions

View File

@ -26,8 +26,7 @@ namespace {
SavedObjectGraph ParseSavedObjectGraph(absl::string_view text_proto) {
SavedObjectGraph value;
CHECK(tensorflow::protobuf::TextFormat::ParseFromString(string(text_proto),
&value));
CHECK(tensorflow::protobuf::TextFormat::ParseFromString(text_proto, &value));
return value;
}

View File

@ -178,8 +178,7 @@ tuple_value: {
StructuredValue ParseStructuredValue(absl::string_view text_proto) {
StructuredValue value;
CHECK(tensorflow::protobuf::TextFormat::ParseFromString(string(text_proto),
&value));
CHECK(tensorflow::protobuf::TextFormat::ParseFromString(text_proto, &value));
return value;
}