diff options
author | James Ward <james.ward@arm.com> | 2023-02-03 13:02:00 +0000 |
---|---|---|
committer | Eric Kunze <eric.kunze@arm.com> | 2023-02-06 19:02:24 +0000 |
commit | 6dad592daec2aeed4473a084f54e60f088597fe4 (patch) | |
tree | 605649f1f4febe0b73d0095076c1ea45a52c4fb6 /operators/tensor/fully_connected/fully_connected_ERRORIF_WrongRank_2x4x5x5_f16xf16_accf32/test.json | |
parent | b00b1a1db3067c916671ce76840fd06b551b712b (diff) | |
download | conformance_tests-6dad592daec2aeed4473a084f54e60f088597fe4.tar.gz |
Create MI tests for Tensors: AVG_POOL2D, FULLY_CONNECTED, MATMUL
Signed-off-by: James Ward <james.ward@arm.com>
Change-Id: I3bf038baba78bd9a54b33e6c718e02ff5eae37ad
Diffstat (limited to 'operators/tensor/fully_connected/fully_connected_ERRORIF_WrongRank_2x4x5x5_f16xf16_accf32/test.json')
-rw-r--r-- | operators/tensor/fully_connected/fully_connected_ERRORIF_WrongRank_2x4x5x5_f16xf16_accf32/test.json | 113 |
1 files changed, 113 insertions, 0 deletions
diff --git a/operators/tensor/fully_connected/fully_connected_ERRORIF_WrongRank_2x4x5x5_f16xf16_accf32/test.json b/operators/tensor/fully_connected/fully_connected_ERRORIF_WrongRank_2x4x5x5_f16xf16_accf32/test.json new file mode 100644 index 000000000..967627018 --- /dev/null +++ b/operators/tensor/fully_connected/fully_connected_ERRORIF_WrongRank_2x4x5x5_f16xf16_accf32/test.json @@ -0,0 +1,113 @@ +{ + version: { + _major: 0, + _minor: 51, + _patch: 0, + _draft: true + }, + regions: [ + { + name: "main", + 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: 0, + weight_zp: 0 + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 4, + 5, + 5 + ], + type: "FP16" + }, + { + name: "const-1", + shape: [ + 1, + 4 + ], + type: "FP16", + data: [ + 13, + 46, + 145, + 53, + 158, + 59, + 236, + 56 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "FP32", + data: [ + 52, + 72, + 195, + 62 + ] + }, + { + name: "result-0", + shape: [ + 2, + 1 + ], + type: "FP32" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] + } + ] +} |