From 007a2c7c0743b002587cd5e7b4c6b6acbcaedff8 Mon Sep 17 00:00:00 2001 From: Jeremy Johnson Date: Wed, 4 Jan 2023 14:47:16 +0000 Subject: Create MI tests for EW Binary: ADD, SUB, MUL Signed-off-by: Jeremy Johnson Change-Id: Iefd40317b8e2a4ff74e8f835d580a2fc623c5875 --- .../ew_binary/sub/sub_2x12x10x1_bf16/test.json | 65 ++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 operators/ew_binary/sub/sub_2x12x10x1_bf16/test.json (limited to 'operators/ew_binary/sub/sub_2x12x10x1_bf16/test.json') diff --git a/operators/ew_binary/sub/sub_2x12x10x1_bf16/test.json b/operators/ew_binary/sub/sub_2x12x10x1_bf16/test.json new file mode 100644 index 000000000..b7abe6659 --- /dev/null +++ b/operators/ew_binary/sub/sub_2x12x10x1_bf16/test.json @@ -0,0 +1,65 @@ +{ + version: { + _major: 0, + _minor: 51, + _patch: 0, + _draft: true + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "SUB", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 12, + 10, + 1 + ], + type: "BF16" + }, + { + name: "input-1", + shape: [ + 2, + 12, + 10, + 7 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 2, + 12, + 10, + 7 + ], + type: "BF16" + } + ], + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ] +} -- cgit v1.2.1