aboutsummaryrefslogtreecommitdiff
path: root/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_StrideSmallerOne_1x5x2x4x3_f16xf16_accf16_st-2-2-2_pad00...
diff options
context:
space:
mode:
authorJeremy Johnson <jeremy.johnson@arm.com>2023-02-13 12:10:09 +0000
committerEric Kunze <eric.kunze@arm.com>2023-02-22 16:35:47 +0000
commit36989d315242a1c9296bb434ea0691b1304420b0 (patch)
tree688d3e5ebaaab02490eaf041c6f3669d1b0304e5 /operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_StrideSmallerOne_1x5x2x4x3_f16xf16_accf16_st-2-2-2_pad000000_dilat111
parent9bcb0878be85d1f84a0beee9c4c8d920ce80d825 (diff)
downloadconformance_tests-36989d315242a1c9296bb434ea0691b1304420b0.tar.gz
Create MI tests for Tensor: CONV3D
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com> Change-Id: I1625af764e1c927aa04cfa8ab8f24ea76b18a053
Diffstat (limited to 'operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_StrideSmallerOne_1x5x2x4x3_f16xf16_accf16_st-2-2-2_pad000000_dilat111')
-rw-r--r--operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_StrideSmallerOne_1x5x2x4x3_f16xf16_accf16_st-2-2-2_pad000000_dilat111/desc.json21
-rw-r--r--operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_StrideSmallerOne_1x5x2x4x3_f16xf16_accf16_st-2-2-2_pad000000_dilat111/input-0.json237
-rw-r--r--operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_StrideSmallerOne_1x5x2x4x3_f16xf16_accf16_st-2-2-2_pad000000_dilat111/test.json150
3 files changed, 408 insertions, 0 deletions
diff --git a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_StrideSmallerOne_1x5x2x4x3_f16xf16_accf16_st-2-2-2_pad000000_dilat111/desc.json b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_StrideSmallerOne_1x5x2x4x3_f16xf16_accf16_st-2-2-2_pad000000_dilat111/desc.json
new file mode 100644
index 000000000..59c8fbad4
--- /dev/null
+++ b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_StrideSmallerOne_1x5x2x4x3_f16xf16_accf16_st-2-2-2_pad000000_dilat111/desc.json
@@ -0,0 +1,21 @@
+{
+ "tosa_file": "test.json",
+ "ifm_name": [
+ "input-0"
+ ],
+ "ifm_file": [
+ "input-0.npy"
+ ],
+ "ofm_name": [
+ "result-0"
+ ],
+ "ofm_file": [
+ "result-0.npy"
+ ],
+ "expected_return_code": 2,
+ "expected_failure": true,
+ "expected_failure_desc": "At least one stride dimension is smaller than zero",
+ "profile": [
+ "tosa-mi"
+ ]
+} \ No newline at end of file
diff --git a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_StrideSmallerOne_1x5x2x4x3_f16xf16_accf16_st-2-2-2_pad000000_dilat111/input-0.json b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_StrideSmallerOne_1x5x2x4x3_f16xf16_accf16_st-2-2-2_pad000000_dilat111/input-0.json
new file mode 100644
index 000000000..ca901a38f
--- /dev/null
+++ b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_StrideSmallerOne_1x5x2x4x3_f16xf16_accf16_st-2-2-2_pad000000_dilat111/input-0.json
@@ -0,0 +1,237 @@
+{
+ "type": "float16",
+ "data": [
+ [
+ [
+ [
+ [
+ 0.05523681640625,
+ 0.06463623046875,
+ 0.0906982421875
+ ],
+ [
+ 0.18359375,
+ 0.97021484375,
+ 0.281494140625
+ ],
+ [
+ 0.81689453125,
+ 0.0194091796875,
+ 0.32177734375
+ ],
+ [
+ 0.90625,
+ 0.18505859375,
+ 0.283935546875
+ ]
+ ],
+ [
+ [
+ 0.82666015625,
+ 0.12139892578125,
+ 0.053192138671875
+ ],
+ [
+ 0.9658203125,
+ 0.40478515625,
+ 0.65771484375
+ ],
+ [
+ 0.1270751953125,
+ 0.22021484375,
+ 0.4599609375
+ ],
+ [
+ 0.67529296875,
+ 0.293212890625,
+ 0.884765625
+ ]
+ ]
+ ],
+ [
+ [
+ [
+ 0.78125,
+ 0.5517578125,
+ 0.459228515625
+ ],
+ [
+ 0.61962890625,
+ 0.7314453125,
+ 0.135009765625
+ ],
+ [
+ 0.8525390625,
+ 0.489501953125,
+ 0.935546875
+ ],
+ [
+ 0.95556640625,
+ 0.0307159423828125,
+ 0.384521484375
+ ]
+ ],
+ [
+ [
+ 0.5263671875,
+ 0.53955078125,
+ 0.822265625
+ ],
+ [
+ 0.14111328125,
+ 0.62255859375,
+ 0.9423828125
+ ],
+ [
+ 0.99658203125,
+ 0.0100860595703125,
+ 0.97265625
+ ],
+ [
+ 0.1221923828125,
+ 0.537109375,
+ 0.246337890625
+ ]
+ ]
+ ],
+ [
+ [
+ [
+ 0.6064453125,
+ 0.037017822265625,
+ 0.23828125
+ ],
+ [
+ 0.300537109375,
+ 0.91552734375,
+ 0.58349609375
+ ],
+ [
+ 0.7080078125,
+ 0.67578125,
+ 0.392333984375
+ ],
+ [
+ 0.0140228271484375,
+ 0.10699462890625,
+ 0.458740234375
+ ]
+ ],
+ [
+ [
+ 0.94140625,
+ 0.248779296875,
+ 0.6982421875
+ ],
+ [
+ 0.82666015625,
+ 0.90673828125,
+ 0.29345703125
+ ],
+ [
+ 0.93115234375,
+ 0.60791015625,
+ 0.50830078125
+ ],
+ [
+ 0.7783203125,
+ 0.23876953125,
+ 0.8125
+ ]
+ ]
+ ],
+ [
+ [
+ [
+ 0.64990234375,
+ 0.79931640625,
+ 0.85595703125
+ ],
+ [
+ 0.6171875,
+ 0.0367431640625,
+ 0.2978515625
+ ],
+ [
+ 0.8779296875,
+ 0.626953125,
+ 0.89013671875
+ ],
+ [
+ 0.384521484375,
+ 0.5048828125,
+ 0.86279296875
+ ]
+ ],
+ [
+ [
+ 0.76220703125,
+ 0.37744140625,
+ 0.0226287841796875
+ ],
+ [
+ 0.88037109375,
+ 0.7861328125,
+ 0.44921875
+ ],
+ [
+ 0.54638671875,
+ 0.204345703125,
+ 0.412109375
+ ],
+ [
+ 0.1632080078125,
+ 0.2105712890625,
+ 0.84619140625
+ ]
+ ]
+ ],
+ [
+ [
+ [
+ 0.362548828125,
+ 0.81494140625,
+ 0.473876953125
+ ],
+ [
+ 0.07080078125,
+ 0.361572265625,
+ 0.1583251953125
+ ],
+ [
+ 0.693359375,
+ 0.91162109375,
+ 0.76318359375
+ ],
+ [
+ 0.7783203125,
+ 0.86181640625,
+ 0.77685546875
+ ]
+ ],
+ [
+ [
+ 0.568359375,
+ 0.71435546875,
+ 0.416015625
+ ],
+ [
+ 0.07080078125,
+ 0.70556640625,
+ 0.7216796875
+ ],
+ [
+ 0.2237548828125,
+ 0.9541015625,
+ 0.052520751953125
+ ],
+ [
+ 0.73583984375,
+ 0.96826171875,
+ 0.30908203125
+ ]
+ ]
+ ]
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_StrideSmallerOne_1x5x2x4x3_f16xf16_accf16_st-2-2-2_pad000000_dilat111/test.json b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_StrideSmallerOne_1x5x2x4x3_f16xf16_accf16_st-2-2-2_pad000000_dilat111/test.json
new file mode 100644
index 000000000..20d360c76
--- /dev/null
+++ b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_StrideSmallerOne_1x5x2x4x3_f16xf16_accf16_st-2-2-2_pad000000_dilat111/test.json
@@ -0,0 +1,150 @@
+{
+ version: {
+ _major: 0,
+ _minor: 51,
+ _patch: 0,
+ _draft: true
+ },
+ regions: [
+ {
+ name: "main",
+ blocks: [
+ {
+ name: "main",
+ operators: [
+ {
+ op: "CONST",
+ attribute_type: "NONE",
+ inputs: [
+
+ ],
+ outputs: [
+ "const-1"
+ ]
+ },
+ {
+ op: "CONST",
+ attribute_type: "NONE",
+ inputs: [
+
+ ],
+ outputs: [
+ "const-2"
+ ]
+ },
+ {
+ op: "CONV3D",
+ attribute_type: "ConvAttribute",
+ attribute: {
+ pad: [
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0
+ ],
+ stride: [
+ -2,
+ -2,
+ -2
+ ],
+ dilation: [
+ 1,
+ 1,
+ 1
+ ],
+ input_zp: 0,
+ weight_zp: 0
+ },
+ inputs: [
+ "input-0",
+ "const-1",
+ "const-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 1,
+ 5,
+ 2,
+ 4,
+ 3
+ ],
+ type: "FP16"
+ },
+ {
+ name: "const-1",
+ shape: [
+ 3,
+ 1,
+ 1,
+ 1,
+ 3
+ ],
+ type: "FP16",
+ data: [
+ 77,
+ 59,
+ 157,
+ 58,
+ 244,
+ 57,
+ 161,
+ 59,
+ 60,
+ 57,
+ 235,
+ 55,
+ 104,
+ 57,
+ 151,
+ 54,
+ 51,
+ 53
+ ]
+ },
+ {
+ name: "const-2",
+ shape: [
+ 3
+ ],
+ type: "FP16",
+ data: [
+ 68,
+ 45,
+ 12,
+ 54,
+ 109,
+ 58
+ ]
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ -1,
+ 0,
+ -1,
+ 3
+ ],
+ type: "FP16"
+ }
+ ],
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+ }
+ ]
+}