From f28351d57bbe212bc75ed18375b4f421937e113e Mon Sep 17 00:00:00 2001 From: Jeremy Johnson Date: Tue, 18 Oct 2022 15:07:37 +0100 Subject: Updating test files for FLOAT/FP32 name change Plus re-instate accidentally removed operator READMEs. Signed-off-by: Jeremy Johnson Change-Id: I534e5be23cb524c886208107e1bfe22ac6e8f160 --- .../test.json | 171 +++++++++++++++++++++ 1 file changed, 171 insertions(+) create mode 100644 operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WrongInputType_1x12x10x7_bxb_accb_st11_pad0000_dilat11/test.json (limited to 'operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WrongInputType_1x12x10x7_bxb_accb_st11_pad0000_dilat11/test.json') diff --git a/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WrongInputType_1x12x10x7_bxb_accb_st11_pad0000_dilat11/test.json b/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WrongInputType_1x12x10x7_bxb_accb_st11_pad0000_dilat11/test.json new file mode 100644 index 000000000..9edca898c --- /dev/null +++ b/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WrongInputType_1x12x10x7_bxb_accb_st11_pad0000_dilat11/test.json @@ -0,0 +1,171 @@ +{ + version: { + _major: 0, + _minor: 41, + _patch: 0, + _draft: true + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "CONST", + attribute_type: "NONE", + inputs: [ + + ], + outputs: [ + "const-1" + ] + }, + { + op: "CONST", + attribute_type: "NONE", + inputs: [ + + ], + outputs: [ + "const-2" + ] + }, + { + op: "CONV2D", + attribute_type: "ConvAttribute", + attribute: { + pad: [ + 0, + 0, + 0, + 0 + ], + stride: [ + 1, + 1 + ], + dilation: [ + 1, + 1 + ], + input_zp: 0, + weight_zp: 0, + accum_dtype: "BOOL" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 12, + 10, + 7 + ], + type: "BOOL" + }, + { + name: "const-1", + shape: [ + 7, + 1, + 1, + 7 + ], + type: "BOOL", + data: [ + 1, + 1, + 0, + 1, + 0, + 1, + 1, + 0, + 1, + 0, + 1, + 0, + 0, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 0, + 0, + 1, + 0, + 1, + 1, + 0, + 0, + 1, + 0, + 0, + 1, + 1, + 1, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 0, + 1, + 0, + 1, + 0, + 0, + 0 + ] + }, + { + name: "const-2", + shape: [ + 7 + ], + type: "BOOL", + data: [ + 1, + 1, + 0, + 0, + 0, + 0, + 1 + ] + }, + { + name: "result-0", + shape: [ + 1, + 12, + 10, + 7 + ], + type: "INT32" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} -- cgit v1.2.1