aboutsummaryrefslogtreecommitdiff
path: root/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongRank_1x2x4x9x4_f32xf32_accf32_st11_pad0000_...
diff options
context:
space:
mode:
authorJames Ward <james.ward@arm.com>2023-02-21 10:37:24 +0000
committerEric Kunze <eric.kunze@arm.com>2023-02-22 16:36:06 +0000
commit8f523840638434699bb53e0c986a0f84b38f6b70 (patch)
treec9dc34dceabff01632f07e887323ddf3c0da9f3b /operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongRank_1x2x4x9x4_f32xf32_accf32_st11_pad0000_os1x2x4x9
parentf42c430ce7d8c7c3fa412ba48c5e602def6f639c (diff)
downloadconformance_tests-8f523840638434699bb53e0c986a0f84b38f6b70.tar.gz
Create MI tests for Tensors: TRANSPOSE_CONV2D
Signed-off-by: James Ward <james.ward@arm.com> Change-Id: I9ce5f8b26e03d53ef62d07da139f532f39a31d4b
Diffstat (limited to 'operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongRank_1x2x4x9x4_f32xf32_accf32_st11_pad0000_os1x2x4x9')
-rw-r--r--operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongRank_1x2x4x9x4_f32xf32_accf32_st11_pad0000_os1x2x4x9/desc.json21
-rw-r--r--operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongRank_1x2x4x9x4_f32xf32_accf32_st11_pad0000_os1x2x4x9/input-0.json459
-rw-r--r--operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongRank_1x2x4x9x4_f32xf32_accf32_st11_pad0000_os1x2x4x9/test.json482
3 files changed, 962 insertions, 0 deletions
diff --git a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongRank_1x2x4x9x4_f32xf32_accf32_st11_pad0000_os1x2x4x9/desc.json b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongRank_1x2x4x9x4_f32xf32_accf32_st11_pad0000_os1x2x4x9/desc.json
new file mode 100644
index 000000000..c9d3d68c3
--- /dev/null
+++ b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongRank_1x2x4x9x4_f32xf32_accf32_st11_pad0000_os1x2x4x9/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": "Rank not supported for this operator",
+ "profile": [
+ "tosa-mi"
+ ]
+} \ No newline at end of file
diff --git a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongRank_1x2x4x9x4_f32xf32_accf32_st11_pad0000_os1x2x4x9/input-0.json b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongRank_1x2x4x9x4_f32xf32_accf32_st11_pad0000_os1x2x4x9/input-0.json
new file mode 100644
index 000000000..3ea0373a0
--- /dev/null
+++ b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongRank_1x2x4x9x4_f32xf32_accf32_st11_pad0000_os1x2x4x9/input-0.json
@@ -0,0 +1,459 @@
+{
+ "type": "float32",
+ "data": [
+ [
+ [
+ [
+ [
+ 0.4850536286830902,
+ 0.47209715843200684,
+ 0.810513436794281,
+ 0.3350158929824829
+ ],
+ [
+ 0.9371614456176758,
+ 0.25068411231040955,
+ 0.07439782470464706,
+ 0.7719239592552185
+ ],
+ [
+ 0.40472427010536194,
+ 0.355777382850647,
+ 0.32090994715690613,
+ 0.980442225933075
+ ],
+ [
+ 0.5716766715049744,
+ 0.9919144511222839,
+ 0.3435809910297394,
+ 0.4139692485332489
+ ],
+ [
+ 0.2117626965045929,
+ 0.43036410212516785,
+ 0.06200534105300903,
+ 0.00055785191943869
+ ],
+ [
+ 0.4530734717845917,
+ 0.746023952960968,
+ 0.43706515431404114,
+ 0.51800537109375
+ ],
+ [
+ 0.44561588764190674,
+ 0.5268042683601379,
+ 0.7756040692329407,
+ 0.8037862777709961
+ ],
+ [
+ 0.8380580544471741,
+ 0.21242991089820862,
+ 0.45784446597099304,
+ 0.8310056924819946
+ ],
+ [
+ 0.9418790340423584,
+ 0.54298335313797,
+ 0.49299997091293335,
+ 0.7645947933197021
+ ]
+ ],
+ [
+ [
+ 0.9916943311691284,
+ 0.4259321987628937,
+ 0.16509968042373657,
+ 0.8343067765235901
+ ],
+ [
+ 0.7104251980781555,
+ 0.14507576823234558,
+ 0.3235093057155609,
+ 0.5532233715057373
+ ],
+ [
+ 0.7314655780792236,
+ 0.780646562576294,
+ 0.15573136508464813,
+ 0.21675066649913788
+ ],
+ [
+ 0.7441225051879883,
+ 0.1161123737692833,
+ 0.4981602430343628,
+ 0.5459921360015869
+ ],
+ [
+ 0.339354544878006,
+ 0.7963362336158752,
+ 0.0554158091545105,
+ 0.7774444818496704
+ ],
+ [
+ 0.6460327506065369,
+ 0.5072175860404968,
+ 0.8723726868629456,
+ 0.20224644243717194
+ ],
+ [
+ 0.8007740378379822,
+ 0.18777453899383545,
+ 0.9904460906982422,
+ 0.03276477009057999
+ ],
+ [
+ 0.5531972646713257,
+ 0.16801682114601135,
+ 0.40797507762908936,
+ 0.14794667065143585
+ ],
+ [
+ 0.19382545351982117,
+ 0.06098050996661186,
+ 0.008003544993698597,
+ 0.7193058729171753
+ ]
+ ],
+ [
+ [
+ 0.45346054434776306,
+ 0.045592185109853745,
+ 0.9389697909355164,
+ 0.665610134601593
+ ],
+ [
+ 0.26427313685417175,
+ 0.43869513273239136,
+ 0.48926669359207153,
+ 0.5699278116226196
+ ],
+ [
+ 0.8574503064155579,
+ 0.5899002552032471,
+ 0.9787261486053467,
+ 0.7268090844154358
+ ],
+ [
+ 0.9885172247886658,
+ 0.5507491230964661,
+ 0.6784492135047913,
+ 0.737898588180542
+ ],
+ [
+ 0.7547470331192017,
+ 0.024429628625512123,
+ 0.1274743229150772,
+ 0.2277223914861679
+ ],
+ [
+ 0.27149447798728943,
+ 0.9053682088851929,
+ 0.7226032018661499,
+ 0.14328160881996155
+ ],
+ [
+ 0.4263550341129303,
+ 0.24312154948711395,
+ 0.8298636674880981,
+ 0.9177969694137573
+ ],
+ [
+ 0.16429013013839722,
+ 0.416570782661438,
+ 0.9528369903564453,
+ 0.6570894718170166
+ ],
+ [
+ 0.8680968880653381,
+ 0.35769373178482056,
+ 0.20970237255096436,
+ 0.6913037300109863
+ ]
+ ],
+ [
+ [
+ 0.13742633163928986,
+ 0.8399019241333008,
+ 0.754837155342102,
+ 0.3049066364765167
+ ],
+ [
+ 0.4987115263938904,
+ 0.7991939187049866,
+ 0.9349102973937988,
+ 0.3521604835987091
+ ],
+ [
+ 0.7899917960166931,
+ 0.19446708261966705,
+ 0.9035401344299316,
+ 0.6862500309944153
+ ],
+ [
+ 0.15273931622505188,
+ 0.7398289442062378,
+ 0.724057674407959,
+ 0.7422974705696106
+ ],
+ [
+ 0.3448774218559265,
+ 0.7398002743721008,
+ 0.8265700340270996,
+ 0.34712889790534973
+ ],
+ [
+ 0.2079576700925827,
+ 0.8878799080848694,
+ 0.6206940412521362,
+ 0.4603871703147888
+ ],
+ [
+ 0.8797439336776733,
+ 0.13600564002990723,
+ 0.8105846047401428,
+ 0.4908212721347809
+ ],
+ [
+ 0.04252426326274872,
+ 0.9726126790046692,
+ 0.7780667543411255,
+ 0.2147558182477951
+ ],
+ [
+ 0.9236955642700195,
+ 0.9353455305099487,
+ 0.8004655838012695,
+ 0.12717042863368988
+ ]
+ ]
+ ],
+ [
+ [
+ [
+ 0.18638134002685547,
+ 0.7540329098701477,
+ 0.9138057827949524,
+ 0.2150181382894516
+ ],
+ [
+ 0.4608278274536133,
+ 0.15479396283626556,
+ 0.47800785303115845,
+ 0.6425291299819946
+ ],
+ [
+ 0.018554888665676117,
+ 0.6429271697998047,
+ 0.6397499442100525,
+ 0.45500847697257996
+ ],
+ [
+ 0.8954022526741028,
+ 0.13481901586055756,
+ 0.051311831921339035,
+ 0.495831161737442
+ ],
+ [
+ 0.5330345034599304,
+ 0.2666891813278198,
+ 0.961627721786499,
+ 0.2537272274494171
+ ],
+ [
+ 0.27016183733940125,
+ 0.8109864592552185,
+ 0.9228236675262451,
+ 0.536139726638794
+ ],
+ [
+ 0.0190539862960577,
+ 0.3554348945617676,
+ 0.22393983602523804,
+ 0.5110180377960205
+ ],
+ [
+ 0.6825717687606812,
+ 0.39243629574775696,
+ 0.5373599529266357,
+ 0.7598603367805481
+ ],
+ [
+ 0.2461470067501068,
+ 0.195967897772789,
+ 0.8056349754333496,
+ 0.037023622542619705
+ ]
+ ],
+ [
+ [
+ 0.15059658885002136,
+ 0.012356745079159737,
+ 0.5553848147392273,
+ 0.6000857353210449
+ ],
+ [
+ 0.5310307145118713,
+ 0.41426903009414673,
+ 0.529029130935669,
+ 0.19393780827522278
+ ],
+ [
+ 0.8262427449226379,
+ 0.9807730317115784,
+ 0.540622889995575,
+ 0.3743555247783661
+ ],
+ [
+ 0.7917827367782593,
+ 0.19307193160057068,
+ 0.32077357172966003,
+ 0.9399805665016174
+ ],
+ [
+ 0.18629416823387146,
+ 0.11211557686328888,
+ 0.5463536977767944,
+ 0.5874173641204834
+ ],
+ [
+ 0.5971500873565674,
+ 0.16447822749614716,
+ 0.7211447358131409,
+ 0.24228112399578094
+ ],
+ [
+ 0.9481025338172913,
+ 0.22795717418193817,
+ 0.01731147989630699,
+ 0.5678451657295227
+ ],
+ [
+ 0.20284786820411682,
+ 0.6285738348960876,
+ 0.22921335697174072,
+ 0.4280843734741211
+ ],
+ [
+ 0.17951440811157227,
+ 0.42881137132644653,
+ 0.13652034103870392,
+ 0.33797305822372437
+ ]
+ ],
+ [
+ [
+ 0.19893161952495575,
+ 0.8161018490791321,
+ 0.7293540835380554,
+ 0.16681939363479614
+ ],
+ [
+ 0.08290455490350723,
+ 0.02574460580945015,
+ 0.22667180001735687,
+ 0.4801773726940155
+ ],
+ [
+ 0.3998832106590271,
+ 0.9714990258216858,
+ 0.792245626449585,
+ 0.07818668335676193
+ ],
+ [
+ 0.1589323878288269,
+ 0.02659905143082142,
+ 0.13822636008262634,
+ 0.5294171571731567
+ ],
+ [
+ 0.07673803716897964,
+ 0.05986794829368591,
+ 0.11816150695085526,
+ 0.6694136261940002
+ ],
+ [
+ 0.01935812458395958,
+ 0.9696261286735535,
+ 0.380786269903183,
+ 0.3365873694419861
+ ],
+ [
+ 0.4748128354549408,
+ 0.5178617835044861,
+ 0.4200133979320526,
+ 0.4863258898258209
+ ],
+ [
+ 0.33973389863967896,
+ 0.322007417678833,
+ 0.02731526456773281,
+ 0.6718005537986755
+ ],
+ [
+ 0.6172719597816467,
+ 0.6688203811645508,
+ 0.9410550594329834,
+ 0.4730847477912903
+ ]
+ ],
+ [
+ [
+ 0.8817704319953918,
+ 0.44394323229789734,
+ 0.47761401534080505,
+ 0.6329525113105774
+ ],
+ [
+ 0.21590140461921692,
+ 0.2173561155796051,
+ 0.5098318457603455,
+ 0.068609818816185
+ ],
+ [
+ 0.23665805160999298,
+ 0.7934121489524841,
+ 0.463733434677124,
+ 0.02662193402647972
+ ],
+ [
+ 0.06074141710996628,
+ 0.9195153713226318,
+ 0.9567184448242188,
+ 0.6411038637161255
+ ],
+ [
+ 0.18494510650634766,
+ 0.36808621883392334,
+ 0.30546706914901733,
+ 0.7851563096046448
+ ],
+ [
+ 0.5370897054672241,
+ 0.7796565294265747,
+ 0.36051061749458313,
+ 0.8695114850997925
+ ],
+ [
+ 0.4291623830795288,
+ 0.4173740744590759,
+ 0.4890984296798706,
+ 0.5918057560920715
+ ],
+ [
+ 0.8941118717193604,
+ 0.45775553584098816,
+ 0.9301362633705139,
+ 0.3936683237552643
+ ],
+ [
+ 0.32457268238067627,
+ 0.2950456142425537,
+ 0.021152004599571228,
+ 0.849143922328949
+ ]
+ ]
+ ]
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongRank_1x2x4x9x4_f32xf32_accf32_st11_pad0000_os1x2x4x9/test.json b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongRank_1x2x4x9x4_f32xf32_accf32_st11_pad0000_os1x2x4x9/test.json
new file mode 100644
index 000000000..6869d4743
--- /dev/null
+++ b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongRank_1x2x4x9x4_f32xf32_accf32_st11_pad0000_os1x2x4x9/test.json
@@ -0,0 +1,482 @@
+{
+ 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: "TRANSPOSE_CONV2D",
+ attribute_type: "TransposeConvAttribute",
+ attribute: {
+ out_pad: [
+ 0,
+ 0,
+ 0,
+ 0
+ ],
+ stride: [
+ 1,
+ 1
+ ],
+ output_shape: [
+ 1,
+ 2,
+ 4,
+ 9
+ ],
+ input_zp: 0,
+ weight_zp: 0
+ },
+ inputs: [
+ "input-0",
+ "const-1",
+ "const-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 1,
+ 2,
+ 4,
+ 9,
+ 4
+ ],
+ type: "FP32"
+ },
+ {
+ name: "const-1",
+ shape: [
+ 9,
+ 1,
+ 1,
+ 9
+ ],
+ type: "FP32",
+ data: [
+ 76,
+ 69,
+ 162,
+ 61,
+ 123,
+ 45,
+ 171,
+ 62,
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 13,
+ 152,
+ 105,
+ 63,
+ 181,
+ 141,
+ 216,
+ 62,
+ 187,
+ 58,
+ 216,
+ 62,
+ 60,
+ 238,
+ 28,
+ 62,
+ 121,
+ 132,
+ 71,
+ 62
+ ]
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 2,
+ 4,
+ 9
+ ],
+ type: "FP32"
+ }
+ ],
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+ }
+ ]
+}