Skip to content

Commit

Permalink
[FRONTEND][TENSORFLOW] Bugfix (apache#2267)
Browse files Browse the repository at this point in the history
  • Loading branch information
srkreddy1238 authored and AWS Neo committed Feb 20, 2019
1 parent cde5afa commit 97d7c13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nnvm/python/nnvm/frontend/tensorflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -1141,8 +1141,8 @@ def from_tensorflow(self, graph, layout="NHWC", shape=None, outputs=None):
tensor_value.tensor_shape)]
elif '_output_shapes' in attr:
self._output_shapes[node.name] = \
[tensor_util.TensorShapeProtoToList(shape) \
for shape in attr['_output_shapes']]
[tensor_util.TensorShapeProtoToList(tshape) \
for tshape in attr['_output_shapes']]
elif shape:
# Keep the list indexable to avoid key error.
# Actual value will be filled after node creation.
Expand Down

0 comments on commit 97d7c13

Please sign in to comment.