Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[microNPU] Update Conv2D Tests to Use TF API to Gen Test Cases #9508

Merged
merged 10 commits into from
Dec 9, 2021
1 change: 0 additions & 1 deletion python/tvm/relay/backend/contrib/ethosu/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
from . import util
from . import legalize
from . import preprocess
from . import errors
from . import codegen
from . import vela_api
from . import tir_to_cs_translator
35 changes: 0 additions & 35 deletions python/tvm/relay/backend/contrib/ethosu/errors.py

This file was deleted.

3 changes: 0 additions & 3 deletions python/tvm/relay/backend/contrib/ethosu/legalize.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
from tvm.relay.dataflow_pattern import rewrite
from tvm.relay.dataflow_pattern import CallPattern
from tvm.relay.backend.contrib.ethosu import op as ethosu_ops # type: ignore
from tvm.relay.backend.contrib.ethosu.errors import UnsupportedLayout # type: ignore
from tvm.relay.backend.contrib.ethosu import vela_api
from tvm.relay.backend.contrib.ethosu import util
from tvm.relay.op.contrib import ethosu as ethosu_patterns # type: ignore
Expand Down Expand Up @@ -209,8 +208,6 @@ def callback(
channels_map = {
"NHWC": 3,
}
if str(params.ofm.layout) not in channels_map.keys():
raise UnsupportedLayout(str(params.ofm.layout))
kernel_size_map = {
"HWIO": params.weights.shape[0:2],
"OHWI": params.weights.shape[1:3],
Expand Down
295 changes: 0 additions & 295 deletions tests/python/contrib/test_ethosu/relay_ir_builder.py

This file was deleted.

Loading