From e8c4df459931d92df458f42adfc6d164a701e2e4 Mon Sep 17 00:00:00 2001 From: James Ward Date: Tue, 17 Jan 2023 17:22:19 +0000 Subject: Create MI tests for Data Layout: SLICE Signed-off-by: James Ward Change-Id: I1be7f445a53791ca1395ef484725825b051afba3 --- .../test.json | 60 ++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 operators/data_layout/slice/slice_ERRORIF_SizeSmallerEqualZero_5_f32_perm0/test.json (limited to 'operators/data_layout/slice/slice_ERRORIF_SizeSmallerEqualZero_5_f32_perm0/test.json') diff --git a/operators/data_layout/slice/slice_ERRORIF_SizeSmallerEqualZero_5_f32_perm0/test.json b/operators/data_layout/slice/slice_ERRORIF_SizeSmallerEqualZero_5_f32_perm0/test.json new file mode 100644 index 000000000..d3c2f998d --- /dev/null +++ b/operators/data_layout/slice/slice_ERRORIF_SizeSmallerEqualZero_5_f32_perm0/test.json @@ -0,0 +1,60 @@ +{ + version: { + _major: 0, + _minor: 51, + _patch: 0, + _draft: true + }, + regions: [ + { + name: "main", + blocks: [ + { + name: "main", + operators: [ + { + op: "SLICE", + attribute_type: "SliceAttribute", + attribute: { + start: [ + 2 + ], + size: [ + -1 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 5 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + -1 + ], + type: "FP32" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] + } + ] +} -- cgit v1.2.1