Skip to content

Commit

Permalink
remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
masahi committed Sep 17, 2020
1 parent 4420f3b commit e6094fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/tvm/relay/frontend/pytorch.py
Original file line number Diff line number Diff line change
Expand Up @@ -2306,7 +2306,7 @@ def _impl(inputs, input_types):
elif isinstance(inputs[1], list):
out_size = []
for i in [0, 1]:
size, success = try_infer_value(
size, _ = try_infer_value(
inputs[1][i],
lambda ret: ret.astype(np.int),
lambda: _op.expand_dims(inputs[1][i], axis=0),
Expand Down

0 comments on commit e6094fe

Please sign in to comment.