diff options
author | James Ward <james.ward@arm.com> | 2022-11-21 10:32:30 +0000 |
---|---|---|
committer | James Ward <james.ward@arm.com> | 2022-11-21 10:35:21 +0000 |
commit | 4c39d9a327b60518b34c6f333d379b2b82184510 (patch) | |
tree | c1a212eaf8cf9e30781c9e37f81ec061412300df /operators/scatter_gather/scatter/scatter_ERRORIF_WrongRank_1x11x14x12_f32/test.json | |
parent | a25d672b327ad02b3813592803e41f5909aa0d5a (diff) | |
download | conformance_tests-4c39d9a327b60518b34c6f333d379b2b82184510.tar.gz |
Create MI tests for Scatter: SCATTER
Signed-off-by: James Ward <james.ward@arm.com>
Change-Id: I5d8fa1a91ff561fad3dbaefe75262c3e04d42347
Diffstat (limited to 'operators/scatter_gather/scatter/scatter_ERRORIF_WrongRank_1x11x14x12_f32/test.json')
-rw-r--r-- | operators/scatter_gather/scatter/scatter_ERRORIF_WrongRank_1x11x14x12_f32/test.json | 109 |
1 files changed, 109 insertions, 0 deletions
diff --git a/operators/scatter_gather/scatter/scatter_ERRORIF_WrongRank_1x11x14x12_f32/test.json b/operators/scatter_gather/scatter/scatter_ERRORIF_WrongRank_1x11x14x12_f32/test.json new file mode 100644 index 000000000..710dca08f --- /dev/null +++ b/operators/scatter_gather/scatter/scatter_ERRORIF_WrongRank_1x11x14x12_f32/test.json @@ -0,0 +1,109 @@ +{ + version: { + _major: 0, + _minor: 41, + _patch: 0, + _draft: true + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "CONST", + attribute_type: "NONE", + inputs: [ + + ], + outputs: [ + "const-2" + ] + }, + { + op: "SCATTER", + attribute_type: "NONE", + inputs: [ + "input-0", + "const-2", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 11, + 14, + 12 + ], + type: "FP32" + }, + { + name: "input-1", + shape: [ + 1, + 6, + 14 + ], + type: "FP32" + }, + { + name: "const-2", + shape: [ + 1, + 6 + ], + type: "INT32", + data: [ + 0, + 0, + 0, + 0, + 5, + 0, + 0, + 0, + 4, + 0, + 0, + 0, + 8, + 0, + 0, + 0, + 2, + 0, + 0, + 0, + 8, + 0, + 0, + 0 + ] + }, + { + name: "result-0", + shape: [ + 1, + 11, + 14, + 12 + ], + type: "FP32" + } + ], + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ] +} |