diff options
Diffstat (limited to 'operators/data_nodes/const/const_42_f32')
3 files changed, 276 insertions, 0 deletions
diff --git a/operators/data_nodes/const/const_42_f32/Conformance-const-0.json b/operators/data_nodes/const/const_42_f32/Conformance-const-0.json new file mode 100644 index 000000000..5d2c5f94d --- /dev/null +++ b/operators/data_nodes/const/const_42_f32/Conformance-const-0.json @@ -0,0 +1,47 @@ +{ + "type": "float32", + "data": [ + 0.5388732552528381, + 0.21431760489940643, + 0.23682864010334015, + -0.784199595451355, + -1.8767286539077759, + -0.2531304359436035, + -1.141661286354065, + -0.3658854365348816, + 1.4136122465133667, + -1.0642420053482056, + -1.7667890787124634, + -0.8744644522666931, + -0.825624942779541, + 0.6476660370826721, + 0.2281286120414734, + 1.1355928182601929, + 0.657254159450531, + -0.3744525611400604, + 1.2560815811157227, + -1.3321083784103394, + -1.9091516733169556, + -1.6398085355758667, + 0.8894373774528503, + -0.15249107778072357, + -1.3549128770828247, + 0.004179100506007671, + -1.390751600265503, + 0.7852814793586731, + -0.2153749018907547, + -0.4759151041507721, + -0.7939516305923462, + 0.521130383014679, + -0.5527495741844177, + -1.6494003534317017, + -1.527976393699646, + 1.847590684890747, + 1.6343227624893188, + 0.7988285422325134, + -0.9365201592445374, + 1.876705527305603, + 1.1150035858154297, + 0.8675607442855835 + ] +}
\ No newline at end of file diff --git a/operators/data_nodes/const/const_42_f32/desc.json b/operators/data_nodes/const/const_42_f32/desc.json new file mode 100644 index 000000000..5701f55f6 --- /dev/null +++ b/operators/data_nodes/const/const_42_f32/desc.json @@ -0,0 +1,19 @@ +{ + "tosa_file": "test.json", + "ifm_name": [], + "ifm_file": [], + "ofm_name": [ + "const-0" + ], + "ofm_file": [ + "const-0.npy" + ], + "expected_return_code": 0, + "expected_failure": false, + "expected_result_file": [ + "Conformance-const-0.npy" + ], + "profile": [ + "tosa-mi" + ] +}
\ No newline at end of file diff --git a/operators/data_nodes/const/const_42_f32/test.json b/operators/data_nodes/const/const_42_f32/test.json new file mode 100644 index 000000000..143e57186 --- /dev/null +++ b/operators/data_nodes/const/const_42_f32/test.json @@ -0,0 +1,210 @@ +{ + version: { + _major: 0, + _minor: 41, + _patch: 0, + _draft: true + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "CONST", + attribute_type: "NONE", + inputs: [ + + ], + outputs: [ + "const-0" + ] + } + ], + tensors: [ + { + name: "const-0", + shape: [ + 42 + ], + type: "FP32", + data: [ + 153, + 243, + 9, + 63, + 19, + 118, + 91, + 62, + 53, + 131, + 114, + 62, + 78, + 193, + 72, + 191, + 165, + 56, + 240, + 191, + 80, + 154, + 129, + 190, + 245, + 33, + 146, + 191, + 86, + 85, + 187, + 190, + 63, + 241, + 180, + 63, + 21, + 57, + 136, + 191, + 37, + 38, + 226, + 191, + 231, + 220, + 95, + 191, + 40, + 92, + 83, + 191, + 113, + 205, + 37, + 63, + 140, + 154, + 105, + 62, + 27, + 91, + 145, + 63, + 207, + 65, + 40, + 63, + 63, + 184, + 191, + 190, + 72, + 199, + 160, + 63, + 135, + 130, + 170, + 191, + 21, + 95, + 244, + 191, + 63, + 229, + 209, + 191, + 43, + 178, + 99, + 63, + 159, + 38, + 28, + 190, + 201, + 109, + 173, + 191, + 214, + 240, + 136, + 59, + 38, + 4, + 178, + 191, + 53, + 8, + 73, + 63, + 61, + 139, + 92, + 190, + 37, + 171, + 243, + 190, + 106, + 64, + 75, + 191, + 205, + 104, + 5, + 63, + 255, + 128, + 13, + 191, + 141, + 31, + 211, + 191, + 187, + 148, + 195, + 191, + 218, + 125, + 236, + 63, + 125, + 49, + 209, + 63, + 7, + 128, + 76, + 63, + 201, + 191, + 111, + 191, + 227, + 55, + 240, + 63, + 112, + 184, + 142, + 63, + 118, + 24, + 94, + 63 + ] + } + ], + inputs: [ + + ], + outputs: [ + "const-0" + ] + } + ] +} |