aboutsummaryrefslogtreecommitdiff
path: root/operators/type_conversion/cast/cast_4x2x8x15_f32_outi16/test.json
diff options
context:
space:
mode:
authorJames Ward <james.ward@arm.com>2023-01-31 12:20:46 +0000
committerEric Kunze <eric.kunze@arm.com>2023-02-02 22:02:40 +0000
commitde1c2ce9e0710f39464069d880fac7bb9ec24d1a (patch)
tree795ca43d4958ce877b7acad79931cdbfeaa4970d /operators/type_conversion/cast/cast_4x2x8x15_f32_outi16/test.json
parentee8287e7d32a98f5e6197a361702bfc07e6efd91 (diff)
downloadconformance_tests-de1c2ce9e0710f39464069d880fac7bb9ec24d1a.tar.gz
Create MI tests for Type Conversion: CAST
Signed-off-by: James Ward <james.ward@arm.com> Change-Id: I2faca325583245248e7043cf3359e696ececac19
Diffstat (limited to 'operators/type_conversion/cast/cast_4x2x8x15_f32_outi16/test.json')
-rw-r--r--operators/type_conversion/cast/cast_4x2x8x15_f32_outi16/test.json58
1 files changed, 58 insertions, 0 deletions
diff --git a/operators/type_conversion/cast/cast_4x2x8x15_f32_outi16/test.json b/operators/type_conversion/cast/cast_4x2x8x15_f32_outi16/test.json
new file mode 100644
index 000000000..0eacaddc7
--- /dev/null
+++ b/operators/type_conversion/cast/cast_4x2x8x15_f32_outi16/test.json
@@ -0,0 +1,58 @@
+{
+ version: {
+ _major: 0,
+ _minor: 51,
+ _patch: 0,
+ _draft: true
+ },
+ regions: [
+ {
+ name: "main",
+ blocks: [
+ {
+ name: "main",
+ operators: [
+ {
+ op: "CAST",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 4,
+ 2,
+ 8,
+ 15
+ ],
+ type: "FP32"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 4,
+ 2,
+ 8,
+ 15
+ ],
+ type: "INT16"
+ }
+ ],
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+ }
+ ]
+}