Skip to content

Commit

Permalink
Change input to data type
Browse files Browse the repository at this point in the history
  • Loading branch information
alexwong committed Feb 18, 2020
1 parent a22c040 commit 57870ee
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 @@ -614,7 +614,7 @@ def _convert_data_type(input_type):
elif input_type in ["byte", "torch.uint8"]:
return "uint8"
else:
raise NotImplementedError("input_type {} is not handled yet" % (data_type))
raise NotImplementedError("input_type {} is not handled yet" % (input_type))
return "float32"

def _create_typed_const(data, data_type):
Expand Down

0 comments on commit 57870ee

Please sign in to comment.