From 45e0ee4bdaabb51815caa8c7a6a1ba3f52cdfb9a Mon Sep 17 00:00:00 2001 From: Jeremy Johnson Date: Fri, 17 Jun 2022 13:07:12 +0100 Subject: Updating SCATTER tests for v0.30.0 release Signed-off-by: Jeremy Johnson Change-Id: I658252a08c69733e08cfc75233afaf2fb33c1116 --- .../test.json | 319 +++++++++++++++++++++ 1 file changed, 319 insertions(+) create mode 100644 operators/scatter_gather/scatter/scatter_ERRORIF_WrongOutputType_1x24x12_i32/test.json (limited to 'operators/scatter_gather/scatter/scatter_ERRORIF_WrongOutputType_1x24x12_i32/test.json') diff --git a/operators/scatter_gather/scatter/scatter_ERRORIF_WrongOutputType_1x24x12_i32/test.json b/operators/scatter_gather/scatter/scatter_ERRORIF_WrongOutputType_1x24x12_i32/test.json new file mode 100644 index 000000000..fe8ed9bc2 --- /dev/null +++ b/operators/scatter_gather/scatter/scatter_ERRORIF_WrongOutputType_1x24x12_i32/test.json @@ -0,0 +1,319 @@ +{ + version: { + _major: 0, + _minor: 30, + _patch: 0, + _draft: false + }, + 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, + 24, + 12 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1, + 59, + 12 + ], + type: "INT32" + }, + { + name: "const-2", + shape: [ + 1, + 59 + ], + type: "INT32", + data: [ + 14, + 0, + 0, + 0, + 15, + 0, + 0, + 0, + 14, + 0, + 0, + 0, + 22, + 0, + 0, + 0, + 6, + 0, + 0, + 0, + 23, + 0, + 0, + 0, + 4, + 0, + 0, + 0, + 3, + 0, + 0, + 0, + 19, + 0, + 0, + 0, + 21, + 0, + 0, + 0, + 2, + 0, + 0, + 0, + 14, + 0, + 0, + 0, + 12, + 0, + 0, + 0, + 5, + 0, + 0, + 0, + 12, + 0, + 0, + 0, + 16, + 0, + 0, + 0, + 13, + 0, + 0, + 0, + 12, + 0, + 0, + 0, + 21, + 0, + 0, + 0, + 5, + 0, + 0, + 0, + 14, + 0, + 0, + 0, + 7, + 0, + 0, + 0, + 23, + 0, + 0, + 0, + 6, + 0, + 0, + 0, + 20, + 0, + 0, + 0, + 15, + 0, + 0, + 0, + 5, + 0, + 0, + 0, + 18, + 0, + 0, + 0, + 5, + 0, + 0, + 0, + 6, + 0, + 0, + 0, + 8, + 0, + 0, + 0, + 16, + 0, + 0, + 0, + 9, + 0, + 0, + 0, + 13, + 0, + 0, + 0, + 13, + 0, + 0, + 0, + 4, + 0, + 0, + 0, + 5, + 0, + 0, + 0, + 7, + 0, + 0, + 0, + 5, + 0, + 0, + 0, + 22, + 0, + 0, + 0, + 9, + 0, + 0, + 0, + 9, + 0, + 0, + 0, + 16, + 0, + 0, + 0, + 18, + 0, + 0, + 0, + 16, + 0, + 0, + 0, + 13, + 0, + 0, + 0, + 23, + 0, + 0, + 0, + 21, + 0, + 0, + 0, + 4, + 0, + 0, + 0, + 3, + 0, + 0, + 0, + 9, + 0, + 0, + 0, + 20, + 0, + 0, + 0, + 23, + 0, + 0, + 0, + 16, + 0, + 0, + 0, + 16, + 0, + 0, + 0, + 5, + 0, + 0, + 0, + 14, + 0, + 0, + 0, + 4, + 0, + 0, + 0, + 12, + 0, + 0, + 0 + ] + }, + { + name: "result-0", + shape: [ + 1, + 24, + 12 + ], + type: "FLOAT" + } + ], + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ] +} -- cgit v1.2.1