Skip to content

Commit

Permalink
Move last remaining use of loader_impl._parse_saved_model to loader_i…
Browse files Browse the repository at this point in the history
…mpl.parse_saved_model

PiperOrigin-RevId: 412912759
  • Loading branch information
tensorflower-gardener committed Nov 29, 2021
1 parent 5f53a7d commit e40893d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tensorflow_estimator/python/estimator/estimator_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -3338,7 +3338,7 @@ def _validate_strip_default_attrs(self, estimator_cls, export_fn,
tf.compat.as_bytes(tmpdir), tf.compat.as_bytes('export'))

export_dir = export_fn(est, export_dir_base, serving_input_receiver_fn)
saved_model_pb = loader_impl._parse_saved_model(export_dir)
saved_model_pb = loader_impl.parse_saved_model(export_dir)
self.assertIsNotNone(saved_model_pb)
meta_graph_def = [
x for x in saved_model_pb.meta_graphs
Expand Down

0 comments on commit e40893d

Please sign in to comment.