Skip to content

Commit

Permalink
Fixed error message in wrap_tensor_or_dict_of_tensors_in_identity
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergei Lebedev committed Aug 17, 2018
1 parent 2fb97d4 commit 6cc8d30
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tensorflow_model_analysis/eval_saved_model/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,7 @@ def _wrap_tensor_in_identity(tensor):
values=tensor.values,
dense_shape=tensor.dense_shape)
else:
raise ValueError('could not wrap Tensor %s in identity' %
str(tensor_or_dict_of_tensors))
raise ValueError('could not wrap Tensor %s in identity' % str(tensor))

if isinstance(tensor_or_dict_of_tensors, dict):
result = {}
Expand Down

0 comments on commit 6cc8d30

Please sign in to comment.