This is an automated email from the ASF dual-hosted git repository.
masahi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-tvm.git
The following commit(s) were added to refs/heads/master by this push:
new 2cd987d Add prim::device op (#5584)
2cd987d is described below
commit 2cd987d92724be0f859bfb624ce797f9c70167bb
Author: Candy <[email protected]>
AuthorDate: Wed May 13 15:07:31 2020 +0800
Add prim::device op (#5584)
---
python/tvm/relay/frontend/pytorch.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/python/tvm/relay/frontend/pytorch.py
b/python/tvm/relay/frontend/pytorch.py
index c7eccf7..080046b 100644
--- a/python/tvm/relay/frontend/pytorch.py
+++ b/python/tvm/relay/frontend/pytorch.py
@@ -1615,6 +1615,7 @@ def _wrap_const(c):
def _get_convert_map(prelude):
convert_map = {
"aten::device" : _none(),
+ "prim::device" : _none(),
"aten::sub" : _elemwise("subtract"),
"aten::sub_" : _elemwise("subtract"),
"aten::max" : _elemwise("maximum"),