Skip to content

Commit

Permalink
Call run_returning_status instead of run
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 458052236
  • Loading branch information
tensorflower-gardener authored and tensorflow-copybara committed Jun 29, 2022
1 parent d8a919b commit 8f9085a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def _generate_saved_model_for_half_plus_two(export_dir, target_address,
output_tensor_aliases = tf.constant(["y"])
output_types = [tf.float32]

results = remote_predict_ops.run(
results = remote_predict_ops.run_returning_status(
input_tensor_aliases,
input_tensors,
output_tensor_aliases,
Expand Down

0 comments on commit 8f9085a

Please sign in to comment.