dchauhan-arm commented on a change in pull request #9508:
URL: https://github.com/apache/tvm/pull/9508#discussion_r749254032
##########
File path: tests/python/contrib/test_ethosu/test_codegen.py
##########
@@ -17,19 +17,17 @@
# pylint: disable=invalid-name, unused-argument
import pytest
-pytest.importorskip("ethosu.vela")
import numpy as np
import tflite.Model
import tvm
import tensorflow as tf
from tvm import relay
-from tvm.relay.backend.contrib.ethosu import util
from tvm.relay.op.contrib.ethosu import partition_for_ethosu
-from tests.python.relay.aot.aot_test_utils import generate_ref_data
-from . import relay_ir_builder
from . import infra
+pytest.importorskip("ethosu.vela")
Review comment:
ack
##########
File path: tests/python/contrib/test_ethosu/test_legalize.py
##########
@@ -30,9 +30,8 @@
from tvm.relay.op.contrib import ethosu
from tvm.relay.build_module import bind_params_by_name
-from . import relay_ir_builder
from . import infra
-
+pytest.importorskip("ethosu.vela")
Review comment:
ack
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]