diff options
author | 2017-05-30 17:23:50 -0700 | |
---|---|---|
committer | 2017-05-30 17:35:48 -0700 | |
commit | 9501c4104125fb8c2c2d2e837fc2dd8a24034d52 (patch) | |
tree | c1388c9d7c9fd69e7df3e6394e61f08b4f4400d1 /tensorflow/contrib/session_bundle | |
parent | 96698f7fdc0e9fa82413691ca7064db2723d2d56 (diff) |
Replace protobuf CopyFrom with assignment
PiperOrigin-RevId: 157534272
Diffstat (limited to 'tensorflow/contrib/session_bundle')
-rw-r--r-- | tensorflow/contrib/session_bundle/bundle_shim.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/contrib/session_bundle/bundle_shim.cc b/tensorflow/contrib/session_bundle/bundle_shim.cc index c48bca8661..a367ea059c 100644 --- a/tensorflow/contrib/session_bundle/bundle_shim.cc +++ b/tensorflow/contrib/session_bundle/bundle_shim.cc @@ -341,7 +341,7 @@ Status ConvertSessionBundleToSavedModelBundle( saved_model_bundle->session = std::move(session_bundle.session); // Copy the meta graph def from the SessionBundle to the SavedModelBundle. - saved_model_bundle->meta_graph_def.CopyFrom(session_bundle.meta_graph_def); + saved_model_bundle->meta_graph_def = session_bundle.meta_graph_def; // Convert signatures from session-bundle to signature-defs in // saved-model-bundle. |