Skip to content

Commit

Permalink
[RELAY] fix error message (#4945)
Browse files Browse the repository at this point in the history
  • Loading branch information
vv1133 authored Feb 27, 2020
1 parent 9816efc commit 8c6a772
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/tvm/ir/transform.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def __init__(self,
elif isinstance(fallback_device, TVMContext):
fallback_device = fallback_device.device_type
if not isinstance(fallback_device, int):
raise TypeError("required_pass is expected to be the type of " +
raise TypeError("fallback_device is expected to be the type of " +
"int/str/TVMContext.")

required = list(required_pass) if required_pass else []
Expand Down

0 comments on commit 8c6a772

Please sign in to comment.