diff options
Diffstat (limited to 'operators/ew_binary/intdiv/intdiv_ERRORIF_WrongInputType_7x14_f32')
4 files changed, 226 insertions, 0 deletions
diff --git a/operators/ew_binary/intdiv/intdiv_ERRORIF_WrongInputType_7x14_f32/desc.json b/operators/ew_binary/intdiv/intdiv_ERRORIF_WrongInputType_7x14_f32/desc.json new file mode 100644 index 000000000..33c84b150 --- /dev/null +++ b/operators/ew_binary/intdiv/intdiv_ERRORIF_WrongInputType_7x14_f32/desc.json @@ -0,0 +1,24 @@ +{ + "tosa_file": "test.json", + "ifm_name": [ + "input-0", + "input-1" + ], + "ifm_file": [ + "input-0.npy", + "input-1.npy" + ], + "ofm_name": [ + "result-0" + ], + "ofm_file": [ + "result-0.npy" + ], + "expected_return_code": 2, + "expected_failure": true, + "expected_failure_desc": "Input data type not supported for this operator", + "profile": [ + "tosa-bi", + "tosa-mi" + ] +}
\ No newline at end of file diff --git a/operators/ew_binary/intdiv/intdiv_ERRORIF_WrongInputType_7x14_f32/input-0.json b/operators/ew_binary/intdiv/intdiv_ERRORIF_WrongInputType_7x14_f32/input-0.json new file mode 100644 index 000000000..35e6dff88 --- /dev/null +++ b/operators/ew_binary/intdiv/intdiv_ERRORIF_WrongInputType_7x14_f32/input-0.json @@ -0,0 +1,117 @@ +{ + "type": "float32", + "data": [ + [ + 0.3347078263759613, + 0.27511706948280334, + 0.7814483046531677, + 0.2493368536233902, + 0.820841372013092, + 0.17713354527950287, + 0.3594735264778137, + 0.4010756015777588, + 0.2995104491710663, + 0.0033569138031452894, + 0.2355092614889145, + 0.3376535475254059, + 0.31362488865852356, + 0.7855554819107056 + ], + [ + 0.04736776277422905, + 0.3889487087726593, + 0.03751545399427414, + 0.9306475520133972, + 0.7902094125747681, + 0.9821615815162659, + 0.9101605415344238, + 0.31581276655197144, + 0.6915833950042725, + 0.30655407905578613, + 0.888211190700531, + 0.4107528626918793, + 0.37588754296302795, + 0.9140687584877014 + ], + [ + 0.8367403149604797, + 0.9664135575294495, + 0.06648808717727661, + 0.24333888292312622, + 0.3008577525615692, + 0.4243520498275757, + 0.4731300473213196, + 0.2914724349975586, + 0.790450394153595, + 0.22324414551258087, + 0.696517288684845, + 0.8517683148384094, + 0.6036982536315918, + 0.3541589379310608 + ], + [ + 0.18789124488830566, + 0.13434618711471558, + 0.7441747188568115, + 0.4691320061683655, + 0.04631955176591873, + 0.9838395118713379, + 0.6713032126426697, + 0.844182550907135, + 0.43818867206573486, + 0.9554386138916016, + 0.19952501356601715, + 0.1851361244916916, + 0.8903347253799438, + 0.8917170763015747 + ], + [ + 0.49901947379112244, + 0.12578634917736053, + 0.3052164614200592, + 0.7541523575782776, + 0.8459919095039368, + 0.3476547598838806, + 0.061233680695295334, + 0.6657266616821289, + 0.7394970655441284, + 0.424014687538147, + 0.5830976366996765, + 0.9873715043067932, + 0.24499860405921936, + 0.5729777216911316 + ], + [ + 0.6109604239463806, + 0.5491071939468384, + 0.8691295385360718, + 0.605007529258728, + 0.5078900456428528, + 0.12301502376794815, + 0.7032092213630676, + 0.13210736215114594, + 0.026569893583655357, + 0.4885311722755432, + 0.572445273399353, + 0.9990540742874146, + 0.7123267650604248, + 0.8485903143882751 + ], + [ + 0.346388041973114, + 0.5089147090911865, + 0.9742689728736877, + 0.41738855838775635, + 0.8072904348373413, + 0.5259891152381897, + 0.22396184504032135, + 0.5804186463356018, + 0.21806202828884125, + 0.0030269899871200323, + 0.2358960211277008, + 0.193143829703331, + 0.37092116475105286, + 0.8885968923568726 + ] + ] +}
\ No newline at end of file diff --git a/operators/ew_binary/intdiv/intdiv_ERRORIF_WrongInputType_7x14_f32/input-1.json b/operators/ew_binary/intdiv/intdiv_ERRORIF_WrongInputType_7x14_f32/input-1.json new file mode 100644 index 000000000..befd4bf45 --- /dev/null +++ b/operators/ew_binary/intdiv/intdiv_ERRORIF_WrongInputType_7x14_f32/input-1.json @@ -0,0 +1,26 @@ +{ + "type": "float32", + "data": [ + [ + 0.38785308599472046 + ], + [ + 0.8451876044273376 + ], + [ + 0.5556130409240723 + ], + [ + 0.007614704314619303 + ], + [ + 0.1887367069721222 + ], + [ + 0.9312780499458313 + ], + [ + 0.6041734218597412 + ] + ] +}
\ No newline at end of file diff --git a/operators/ew_binary/intdiv/intdiv_ERRORIF_WrongInputType_7x14_f32/test.json b/operators/ew_binary/intdiv/intdiv_ERRORIF_WrongInputType_7x14_f32/test.json new file mode 100644 index 000000000..1cb471fab --- /dev/null +++ b/operators/ew_binary/intdiv/intdiv_ERRORIF_WrongInputType_7x14_f32/test.json @@ -0,0 +1,59 @@ +{ + version: { + _major: 0, + _minor: 41, + _patch: 0, + _draft: true + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "INTDIV", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 7, + 14 + ], + type: "FP32" + }, + { + name: "input-1", + shape: [ + 7, + 1 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 7, + 14 + ], + type: "FP32" + } + ], + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ] +} |