aboutsummaryrefslogtreecommitdiff
path: root/verif/generator/tosa_error_if.py
diff options
context:
space:
mode:
authorJeremy Johnson <jeremy.johnson@arm.com>2024-02-01 15:54:07 +0000
committerJeremy Johnson <jeremy.johnson@arm.com>2024-02-08 11:14:04 +0000
commit32d0b5af61d978d9932ac5576b42203e57881168 (patch)
treeeb9f3d6d845edc0f53da06285db1e4736282b4c3 /verif/generator/tosa_error_if.py
parent6f57e6e665094959aed40c0e388ac81fbd118720 (diff)
downloadreference_model-32d0b5af61d978d9932ac5576b42203e57881168.tar.gz
Main Compliance: Add RESIZE support
Add RELATIVE verify mode for RESIZE. Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com> Change-Id: I4fe352579507211dae7a048bf080c24426ce42a2
Diffstat (limited to 'verif/generator/tosa_error_if.py')
-rw-r--r--verif/generator/tosa_error_if.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/verif/generator/tosa_error_if.py b/verif/generator/tosa_error_if.py
index 90c3428..5fd647a 100644
--- a/verif/generator/tosa_error_if.py
+++ b/verif/generator/tosa_error_if.py
@@ -2585,9 +2585,9 @@ class TosaInvalidValidator:
@staticmethod
def ivWrongDataTypeOrModeResize(**kwargs):
input_dtype = kwargs["input_dtype"]
- args = kwargs["args"]
- mode = args[0]
- output_dtype = args[5]
+ args_dict = kwargs["args"]
+ mode = args_dict["mode"]
+ output_dtype = args_dict["output_dtype"]
if mode == ResizeMode.BILINEAR:
# Invalid output data type / Invalid input datatype