mirror of
https://github.com/zebrajr/tensorflow.git
synced 2025-12-06 12:20:11 +01:00
Automated Code Change
PiperOrigin-RevId: 825940381
This commit is contained in:
parent
1fa646265a
commit
cfa7953589
|
|
@ -26,8 +26,7 @@ namespace {
|
||||||
|
|
||||||
SavedObjectGraph ParseSavedObjectGraph(absl::string_view text_proto) {
|
SavedObjectGraph ParseSavedObjectGraph(absl::string_view text_proto) {
|
||||||
SavedObjectGraph value;
|
SavedObjectGraph value;
|
||||||
CHECK(tensorflow::protobuf::TextFormat::ParseFromString(string(text_proto),
|
CHECK(tensorflow::protobuf::TextFormat::ParseFromString(text_proto, &value));
|
||||||
&value));
|
|
||||||
return value;
|
return value;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -178,8 +178,7 @@ tuple_value: {
|
||||||
|
|
||||||
StructuredValue ParseStructuredValue(absl::string_view text_proto) {
|
StructuredValue ParseStructuredValue(absl::string_view text_proto) {
|
||||||
StructuredValue value;
|
StructuredValue value;
|
||||||
CHECK(tensorflow::protobuf::TextFormat::ParseFromString(string(text_proto),
|
CHECK(tensorflow::protobuf::TextFormat::ParseFromString(text_proto, &value));
|
||||||
&value));
|
|
||||||
return value;
|
return value;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user