dchauhan-arm commented on a change in pull request #10250:
URL: https://github.com/apache/tvm/pull/10250#discussion_r806827069



##########
File path: 
tests/python/contrib/test_ethosu/end_to_end/test_ethosu_identity_codegen.py
##########
@@ -0,0 +1,73 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+# 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.expr_functor import ExprMutator
+from tvm.relay.op.annotation import compiler_begin, compiler_end
+from tvm.relay.backend.contrib.ethosu import util
+from tvm.relay.backend.contrib.ethosu import preprocess
+
+from tvm.relay.op.contrib.ethosu import partition_for_ethosu
+from tests.python.relay.aot.aot_test_utils import generate_ref_data
+
+from tests.python.contrib.test_ethosu import infra
+from tests.python.contrib.test_ethosu.end_to_end import comparison_infra
+
+ACCEL_TYPES = ["ethos-u55-256", "ethos-u55-128", "ethos-u55-64", 
"ethos-u55-32", "ethos-u65-256"]
+
+
[email protected]("accel_type", ACCEL_TYPES)
[email protected]("ifm_shape", [(3, 2), (1, 15, 11, 7), (3, 1, 12), 
(400,)])
[email protected]("ifm_scale, ifm_zp, ofm_scale, ofm_zp", [(1, 0, 1, 
0), (0.015, 3, 0.2, 5)])
+def test_ethosu_identity_codegen(ifm_shape, ifm_scale, ifm_zp, ofm_scale, 
ofm_zp, accel_type):

Review comment:
       ack! and agreed, I left test names unchanged, but the file names don't 
always follow the test name. Will go over them again while cleaning up other 
things to ensure parity.




-- 
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]


Reply via email to