From 81e1634bb20b64da3647bd4c7e60e7f10f422272 Mon Sep 17 00:00:00 2001 From: Jeremy Johnson Date: Tue, 7 Feb 2023 15:13:08 +0000 Subject: Regen various ERRORIF tests for tosa_mi after adjustment NEGATE, TILE, REDUCE_MIN, REDUCE_MAX, RESIZE, SCATTER, GATHER Signed-off-by: Jeremy Johnson Change-Id: I02a2a6591f82cf6975abc610c059912c97405c51 --- .../test.json | 99 ++++++++++++++++++++++ 1 file changed, 99 insertions(+) create mode 100644 operators/scatter_gather/scatter/scatter_ERRORIF_WrongInputList_1x4x5_bf16/test.json (limited to 'operators/scatter_gather/scatter/scatter_ERRORIF_WrongInputList_1x4x5_bf16/test.json') diff --git a/operators/scatter_gather/scatter/scatter_ERRORIF_WrongInputList_1x4x5_bf16/test.json b/operators/scatter_gather/scatter/scatter_ERRORIF_WrongInputList_1x4x5_bf16/test.json new file mode 100644 index 000000000..04f3251d8 --- /dev/null +++ b/operators/scatter_gather/scatter/scatter_ERRORIF_WrongInputList_1x4x5_bf16/test.json @@ -0,0 +1,99 @@ +{ + version: { + _major: 0, + _minor: 51, + _patch: 0, + _draft: true + }, + regions: [ + { + name: "main", + blocks: [ + { + name: "main", + operators: [ + { + op: "CONST", + attribute_type: "NONE", + inputs: [ + + ], + outputs: [ + "const-2" + ] + }, + { + op: "SCATTER", + attribute_type: "NONE", + inputs: [ + "input-0", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 4, + 5 + ], + type: "BF16" + }, + { + name: "input-1", + shape: [ + 1, + 3, + 5 + ], + type: "BF16" + }, + { + name: "const-2", + shape: [ + 1, + 3 + ], + type: "INT32", + data: [ + 3, + 0, + 0, + 0, + 3, + 0, + 0, + 0, + 2, + 0, + 0, + 0 + ] + }, + { + name: "result-0", + shape: [ + 1, + 4, + 5 + ], + type: "BF16" + } + ], + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ] + } + ] +} -- cgit v1.2.1