This is an automated email from the ASF dual-hosted git repository.

masahi pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tvm.git


The following commit(s) were added to refs/heads/main by this push:
     new e19e979  [Torch] Remove unused conversion (#8397)
e19e979 is described below

commit e19e979c4b430b93286bdd2c69d9ecd3da1c9c5b
Author: masahi <[email protected]>
AuthorDate: Sun Jul 4 06:32:47 2021 +0900

    [Torch] Remove unused conversion (#8397)
    
    * fix weight shape in torch.mm conversion
    
    * Revert "fix weight shape in torch.mm conversion"
    
    This reverts commit a1a8fd313c999060db675848f8b3de3e1c78e468.
    
    * [Torch] remove unused conversion
---
 python/tvm/relay/frontend/pytorch.py | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/python/tvm/relay/frontend/pytorch.py 
b/python/tvm/relay/frontend/pytorch.py
index 00fa9f5..118af5a 100644
--- a/python/tvm/relay/frontend/pytorch.py
+++ b/python/tvm/relay/frontend/pytorch.py
@@ -1877,9 +1877,6 @@ class PyTorchOpConverter:
         assert len(inputs) == 1
         return _op.cast(inputs[0], "float32")
 
-    def mm(self, inputs, input_types):
-        return _op.nn.dense(inputs[0], inputs[1])
-
     def bitwise_not(self, inputs, input_types):
         data = inputs[0]
         # The input tensor must be of integral or Boolean types.

Reply via email to