Skip to content

Commit

Permalink
[3/10] Moved TIR generation from Python to C++ for CMSIS-NN (apache#8951
Browse files Browse the repository at this point in the history
)

* [CMSIS-NN] Moved TIR Generation to C++

* Deleted self import for cmsisnn

Change-Id: I2cdcd7a90aa4749877c48bc6c7c4d27328856860

* Reusing CodeGenC VistiExpr for softmax

Change-Id: Ie41b695fa06468cd3b0bfe428c360e98438a9180
  • Loading branch information
ashutosh-arm authored and ylc committed Jan 13, 2022
1 parent dcaf8c9 commit e67536a
Show file tree
Hide file tree
Showing 8 changed files with 306 additions and 353 deletions.
1 change: 0 additions & 1 deletion python/tvm/relay/backend/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,3 @@
# under the License.
"""Backend codegen modules for relay."""
from . import compile_engine
from .contrib import cmsisnn
18 changes: 0 additions & 18 deletions python/tvm/relay/backend/contrib/__init__.py

This file was deleted.

18 changes: 0 additions & 18 deletions python/tvm/relay/backend/contrib/cmsisnn/__init__.py

This file was deleted.

134 changes: 0 additions & 134 deletions python/tvm/relay/backend/contrib/cmsisnn/codegen.py

This file was deleted.

2 changes: 1 addition & 1 deletion python/tvm/relay/op/contrib/cmsisnn.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,5 +80,5 @@ def check_quantized_softmax(extract):
)

return [
("cmsisnn.qnn_softmax", softmax_pattern(), check_quantized_softmax),
("cmsisnn.quantized_softmax", softmax_pattern(), check_quantized_softmax),
]
Loading

0 comments on commit e67536a

Please sign in to comment.