From eafbdc8b6a43b14103a2fa26f9fe03f2656476f1 Mon Sep 17 00:00:00 2001 From: zhengdi Date: Wed, 26 Feb 2020 14:37:53 +0800 Subject: [PATCH] [RELAY] fix error message --- 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 []