diff options
Diffstat (limited to 'operators/data_nodes/const/const_28_b')
-rw-r--r-- | operators/data_nodes/const/const_28_b/Conformance-const-0.json | 33 | ||||
-rw-r--r-- | operators/data_nodes/const/const_28_b/desc.json | 16 | ||||
-rw-r--r-- | operators/data_nodes/const/const_28_b/test.json | 70 |
3 files changed, 119 insertions, 0 deletions
diff --git a/operators/data_nodes/const/const_28_b/Conformance-const-0.json b/operators/data_nodes/const/const_28_b/Conformance-const-0.json new file mode 100644 index 000000000..ed41209e0 --- /dev/null +++ b/operators/data_nodes/const/const_28_b/Conformance-const-0.json @@ -0,0 +1,33 @@ +{ + "type": "bool", + "data": [ + true, + true, + false, + true, + true, + false, + true, + true, + true, + true, + true, + false, + true, + true, + false, + true, + false, + false, + false, + true, + false, + false, + false, + true, + true, + false, + false, + true + ] +}
\ No newline at end of file diff --git a/operators/data_nodes/const/const_28_b/desc.json b/operators/data_nodes/const/const_28_b/desc.json new file mode 100644 index 000000000..58ee2e73c --- /dev/null +++ b/operators/data_nodes/const/const_28_b/desc.json @@ -0,0 +1,16 @@ +{ + "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" + ] +}
\ No newline at end of file diff --git a/operators/data_nodes/const/const_28_b/test.json b/operators/data_nodes/const/const_28_b/test.json new file mode 100644 index 000000000..492f6cdad --- /dev/null +++ b/operators/data_nodes/const/const_28_b/test.json @@ -0,0 +1,70 @@ +{ + version: { + _major: 0, + _minor: 30, + _patch: 0, + _draft: false + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "CONST", + attribute_type: "NONE", + inputs: [ + + ], + outputs: [ + "const-0" + ] + } + ], + tensors: [ + { + name: "const-0", + shape: [ + 28 + ], + type: "BOOL", + data: [ + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 0, + 0, + 0, + 1, + 0, + 0, + 0, + 1, + 1, + 0, + 0, + 1 + ] + } + ], + inputs: [ + + ], + outputs: [ + "const-0" + ] + } + ] +} |