Skip to content

Commit

Permalink
[FRONTEND][TENSORFLOW] Bugfix (#2267)
Browse files Browse the repository at this point in the history
  • Loading branch information
srkreddy1238 authored and tqchen committed Dec 12, 2018
1 parent aa1310d commit df9d3ad
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 @@ -1124,8 +1124,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 df9d3ad

Please sign in to comment.