From 06f9df4678a5e20fe6e877aff4032c23c1f4ab6d Mon Sep 17 00:00:00 2001 From: Jeremy Johnson Date: Thu, 13 Oct 2022 12:50:30 +0100 Subject: Updating SCATTER_GATHER tests for FP16 and accumulator types Signed-off-by: Jeremy Johnson Change-Id: Ia6ba5aee8960678bda43c5218e9bd15d67bc018a --- .../test.json | 109 +++++++++++++++++++++ 1 file changed, 109 insertions(+) create mode 100644 operators/scatter_gather/scatter/scatter_ERRORIF_WrongRank_1x11x14x12_i32/test.json (limited to 'operators/scatter_gather/scatter/scatter_ERRORIF_WrongRank_1x11x14x12_i32/test.json') diff --git a/operators/scatter_gather/scatter/scatter_ERRORIF_WrongRank_1x11x14x12_i32/test.json b/operators/scatter_gather/scatter/scatter_ERRORIF_WrongRank_1x11x14x12_i32/test.json new file mode 100644 index 000000000..85d49c89e --- /dev/null +++ b/operators/scatter_gather/scatter/scatter_ERRORIF_WrongRank_1x11x14x12_i32/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: "INT32" + }, + { + name: "input-1", + shape: [ + 1, + 6, + 14 + ], + type: "INT32" + }, + { + name: "const-2", + shape: [ + 1, + 6 + ], + type: "INT32", + data: [ + 2, + 0, + 0, + 0, + 7, + 0, + 0, + 0, + 1, + 0, + 0, + 0, + 5, + 0, + 0, + 0, + 9, + 0, + 0, + 0, + 7, + 0, + 0, + 0 + ] + }, + { + name: "result-0", + shape: [ + 1, + 11, + 14, + 12 + ], + type: "INT32" + } + ], + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ] +} -- cgit v1.2.1