Unverified Commit 8c6a7723 by zhengdi Committed by GitHub

[RELAY] fix error message (#4945)

parent 9816efc2
......@@ -82,7 +82,7 @@ class PassContext(Object):
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 []
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment