aboutsummaryrefslogtreecommitdiff
path: root/verif/generator/tosa_test_gen.py
diff options
context:
space:
mode:
Diffstat (limited to 'verif/generator/tosa_test_gen.py')
-rw-r--r--verif/generator/tosa_test_gen.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/verif/generator/tosa_test_gen.py b/verif/generator/tosa_test_gen.py
index 56a34e5..fe05b57 100644
--- a/verif/generator/tosa_test_gen.py
+++ b/verif/generator/tosa_test_gen.py
@@ -2252,6 +2252,10 @@ class TosaTestGen:
def createDynamicOpLists(self):
+ if "conv2d_TEMPLATE" not in self.TOSA_OP_LIST:
+ # Already created these lists (can occur when class is initialized more than once)
+ return
+
# Dynamically create op lists for convolutions with a list of kernel sizes
KERNELS_2D = [[1, 1], [2, 2], [3, 3], [5, 5], [3, 1], [1, 3]]