From b6e502afc0d767e79d5fe1f2df119b170e0f7388 Mon Sep 17 00:00:00 2001 From: "Steven S. Lyubomirsky" Date: Mon, 20 May 2019 19:47:23 -0700 Subject: [PATCH] Fix doc for module method MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: 雾雨魔理沙 --- python/tvm/relay/module.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/tvm/relay/module.py b/python/tvm/relay/module.py index 990e794bb37b9..beaedc4abe255 100644 --- a/python/tvm/relay/module.py +++ b/python/tvm/relay/module.py @@ -92,7 +92,7 @@ def __getitem__(self, var): Parameters ---------- - var: str or GlobalVar or GlobalTypeVar + var: Union[str, GlobalVar, GlobalTypeVar] The name or global variable. Returns