diff options
author | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-10-13 13:59:34 +0100 |
---|---|---|
committer | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-10-13 13:59:34 +0100 |
commit | 9e043f686b52cfabca1a3c67376c410e81c12331 (patch) | |
tree | 9b7519884066f3cefb8257547eaed10e554ed1ef /operators/tensor/fully_connected/fully_connected_ERRORIF_WrongOutputType_11x2_i8xi8_accfloat/test.json | |
parent | 922c45c63305c2ab4eb44598020f4c99a377eb6a (diff) | |
download | conformance_tests-9e043f686b52cfabca1a3c67376c410e81c12331.tar.gz |
Updating FULLY_CONNECTED tests for FP16 and accumulator types
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com>
Change-Id: Ib9321859566a8356e08626b4bcb109a19ec96e14
Diffstat (limited to 'operators/tensor/fully_connected/fully_connected_ERRORIF_WrongOutputType_11x2_i8xi8_accfloat/test.json')
-rw-r--r-- | operators/tensor/fully_connected/fully_connected_ERRORIF_WrongOutputType_11x2_i8xi8_accfloat/test.json | 125 |
1 files changed, 125 insertions, 0 deletions
diff --git a/operators/tensor/fully_connected/fully_connected_ERRORIF_WrongOutputType_11x2_i8xi8_accfloat/test.json b/operators/tensor/fully_connected/fully_connected_ERRORIF_WrongOutputType_11x2_i8xi8_accfloat/test.json new file mode 100644 index 000000000..831ca70e8 --- /dev/null +++ b/operators/tensor/fully_connected/fully_connected_ERRORIF_WrongOutputType_11x2_i8xi8_accfloat/test.json @@ -0,0 +1,125 @@ +{ + version: { + _major: 0, + _minor: 41, + _patch: 0, + _draft: true + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "CONST", + attribute_type: "NONE", + inputs: [ + + ], + outputs: [ + "const-1" + ] + }, + { + op: "CONST", + attribute_type: "NONE", + inputs: [ + + ], + outputs: [ + "const-2" + ] + }, + { + op: "FULLY_CONNECTED", + attribute_type: "FullyConnectedAttribute", + attribute: { + input_zp: 31, + weight_zp: -3, + accum_dtype: "FLOAT" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11, + 2 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 5, + 2 + ], + type: "INT8", + data: [ + 161, + 94, + 47, + 75, + 6, + 203, + 57, + 102, + 170, + 226 + ] + }, + { + name: "const-2", + shape: [ + 5 + ], + type: "INT32", + data: [ + 36, + 199, + 44, + 110, + 109, + 45, + 21, + 102, + 251, + 83, + 230, + 92, + 14, + 183, + 123, + 154, + 214, + 61, + 195, + 160 + ] + }, + { + name: "result-0", + shape: [ + 11, + 5 + ], + type: "FLOAT" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} |