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 4519fb630c2a..a35feb30dccb 100644 --- a/python/tvm/ir/transform.py +++ b/python/tvm/ir/transform.py @@ -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 []