From b00b1a1db3067c916671ce76840fd06b551b712b Mon Sep 17 00:00:00 2001 From: James Ward Date: Thu, 2 Feb 2023 16:34:37 +0000 Subject: Create/Regen MI Tests for CLAMP/PAD * CLAMP framework tests excluded Signed-off-by: James Ward Change-Id: Iba60d7e689b2ba2ced13924c3e141fb5aa9908a7 --- .../activation/clamp/clamp_4x2x11x19_f32/test.json | 74 ++++++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 operators/activation/clamp/clamp_4x2x11x19_f32/test.json (limited to 'operators/activation/clamp/clamp_4x2x11x19_f32/test.json') diff --git a/operators/activation/clamp/clamp_4x2x11x19_f32/test.json b/operators/activation/clamp/clamp_4x2x11x19_f32/test.json new file mode 100644 index 000000000..eccbae26f --- /dev/null +++ b/operators/activation/clamp/clamp_4x2x11x19_f32/test.json @@ -0,0 +1,74 @@ +{ + version: { + _major: 0, + _minor: 51, + _patch: 0, + _draft: true + }, + regions: [ + { + name: "main", + blocks: [ + { + name: "main", + operators: [ + { + op: "CLAMP", + attribute_type: "ClampAttribute", + attribute: { + min_int: 0, + max_int: 0, + min_fp: [ + 223, + 199, + 125, + 191 + ], + max_fp: [ + 191, + 142, + 126, + 63 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 4, + 2, + 11, + 19 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 4, + 2, + 11, + 19 + ], + type: "FP32" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] + } + ] +} -- cgit v1.2.1