aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--reference_model/src/arith_util.h1
-rw-r--r--verif/conformance/tosa_main_profile_ops_info.json41
2 files changed, 41 insertions, 1 deletions
diff --git a/reference_model/src/arith_util.h b/reference_model/src/arith_util.h
index a75d7a3..9c84a03 100644
--- a/reference_model/src/arith_util.h
+++ b/reference_model/src/arith_util.h
@@ -231,7 +231,6 @@ inline void truncateFloatToBFloat(float* src, int64_t size) {
inline bool checkValidBFloat(float src)
{
/* Checks if the least significant two bytes are zero. */
- ASSERT_MEM(src);
char src_as_bytes[sizeof(float)];
memcpy(src_as_bytes, &src, sizeof(float));
diff --git a/verif/conformance/tosa_main_profile_ops_info.json b/verif/conformance/tosa_main_profile_ops_info.json
index 4328b9f..0cbe044 100644
--- a/verif/conformance/tosa_main_profile_ops_info.json
+++ b/verif/conformance/tosa_main_profile_ops_info.json
@@ -1125,6 +1125,47 @@
"tosa-mi"
]
},
+ "resize": {
+ "group": "image",
+ "generator_args": [
+ [
+ "--target-dtype",
+ "fp32",
+ "--target-dtype",
+ "fp16",
+ "--target-dtype",
+ "bf16",
+ "--fp-values-range",
+ "-2.0,2.0"
+ ],
+ [
+ "--target-dtype",
+ "fp32",
+ "--fp-values-range",
+ "-2.0,2.0",
+ "--target-shape",
+ "1,1103,1,2",
+ "--max-resize-output-dim",
+ "9100"
+ ]
+ ],
+ "params": {
+ "offset": [],
+ "shape": [],
+ "type": [],
+ "mode": [],
+ "output_type": [],
+ "scale": ["sc2x1x3x1"],
+ "border": ["bor0x1"]
+ },
+ "permutes": [
+ "shape",
+ "type"
+ ],
+ "profile": [
+ "tosa-mi"
+ ]
+ },
"select": {
"group": "ew_ternary",
"generator_args": [