Skip to content

Commit

Permalink
Fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
lixiaoquan committed Jun 11, 2020
1 parent f20f0a4 commit d5848b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/tvm/relay/frontend/tensorflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -1353,7 +1353,7 @@ def _impl(inputs, attr, params, mod):
# try to compute its shape.
if output_shape is None or -1 in output_shape:
try:
output_shape = _infer_value(inputs[0], params).asnumpy().reshape([-1]).tolist()
output_shape = _infer_value(inputs[0], params, mod).asnumpy().reshape([-1]).tolist()
except (IndexError, KeyError, AttributeError):
output_shape = inputs[0]

Expand Down

0 comments on commit d5848b6

Please sign in to comment.