From 8c6a772365109216aa26b942666317f5624375a1 Mon Sep 17 00:00:00 2001 From: zhengdi Date: Fri, 28 Feb 2020 00:43:10 +0800 Subject: [PATCH] [RELAY] fix error message (#4945) --- python/tvm/ir/transform.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/tvm/ir/transform.py b/python/tvm/ir/transform.py index 4519fb6..a35feb3 100644 --- a/python/tvm/ir/transform.py +++ b/python/tvm/ir/transform.py @@ -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 [] -- 2.7.4