diff options
Diffstat (limited to 'operators/data_nodes/const/const_6_f16')
-rw-r--r-- | operators/data_nodes/const/const_6_f16/Conformance-const-0.json | 11 | ||||
-rw-r--r-- | operators/data_nodes/const/const_6_f16/desc.json | 19 | ||||
-rw-r--r-- | operators/data_nodes/const/const_6_f16/test.json | 54 |
3 files changed, 84 insertions, 0 deletions
diff --git a/operators/data_nodes/const/const_6_f16/Conformance-const-0.json b/operators/data_nodes/const/const_6_f16/Conformance-const-0.json new file mode 100644 index 000000000..ce0a9bb23 --- /dev/null +++ b/operators/data_nodes/const/const_6_f16/Conformance-const-0.json @@ -0,0 +1,11 @@ +{ + "type": "float16", + "data": [ + -0.198486328125, + -0.5166015625, + 1.70703125, + 0.57568359375, + 1.291015625, + -0.226318359375 + ] +}
\ No newline at end of file diff --git a/operators/data_nodes/const/const_6_f16/desc.json b/operators/data_nodes/const/const_6_f16/desc.json new file mode 100644 index 000000000..5701f55f6 --- /dev/null +++ b/operators/data_nodes/const/const_6_f16/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_6_f16/test.json b/operators/data_nodes/const/const_6_f16/test.json new file mode 100644 index 000000000..1baac3d82 --- /dev/null +++ b/operators/data_nodes/const/const_6_f16/test.json @@ -0,0 +1,54 @@ +{ + 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: [ + 6 + ], + type: "FP16", + data: [ + 90, + 178, + 34, + 184, + 212, + 62, + 155, + 56, + 42, + 61, + 62, + 179 + ] + } + ], + inputs: [ + + ], + outputs: [ + "const-0" + ] + } + ] +} |