diff options
Diffstat (limited to 'frameworks/tflite/operators/resize_nearest_neighbor_1x4x8x19_qu8/test_resize_nearest_1x4x8x19_qu8.json')
-rw-r--r-- | frameworks/tflite/operators/resize_nearest_neighbor_1x4x8x19_qu8/test_resize_nearest_1x4x8x19_qu8.json | 227 |
1 files changed, 227 insertions, 0 deletions
diff --git a/frameworks/tflite/operators/resize_nearest_neighbor_1x4x8x19_qu8/test_resize_nearest_1x4x8x19_qu8.json b/frameworks/tflite/operators/resize_nearest_neighbor_1x4x8x19_qu8/test_resize_nearest_1x4x8x19_qu8.json new file mode 100644 index 000000000..c889fb7e9 --- /dev/null +++ b/frameworks/tflite/operators/resize_nearest_neighbor_1x4x8x19_qu8/test_resize_nearest_1x4x8x19_qu8.json @@ -0,0 +1,227 @@ +{ + version: { + _major: 0, + _minor: 30, + _patch: 0, + _draft: false + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "RESCALE", + attribute_type: "RescaleAttribute", + attribute: { + input_zp: 128, + output_zp: 0, + multiplier: [ + 1073741824 + ], + shift: [ + 30 + ], + scale32: true, + double_round: false, + per_channel: false + }, + inputs: [ + "TosaInput_0" + ], + outputs: [ + "layer_0" + ] + }, + { + op: "RESCALE", + attribute_type: "RescaleAttribute", + attribute: { + input_zp: 0, + output_zp: 0, + multiplier: [ + 1073741824 + ], + shift: [ + 30 + ], + scale32: true, + double_round: true, + per_channel: false + }, + inputs: [ + "layer_0" + ], + outputs: [ + "layer_1" + ] + }, + { + op: "RESIZE", + attribute_type: "ResizeAttribute", + attribute: { + output_size: [ + 8, + 16 + ], + stride: [ + 512, + 512 + ], + offset: [ + -256, + -256 + ], + shift: 10, + stride_fp: [ + 0.0, + 0.0 + ], + offset_fp: [ + 0.0, + 0.0 + ], + mode: "NEAREST" + }, + inputs: [ + "layer_1" + ], + outputs: [ + "layer_2" + ] + }, + { + op: "RESCALE", + attribute_type: "RescaleAttribute", + attribute: { + input_zp: 0, + output_zp: 0, + multiplier: [ + 1073741824 + ], + shift: [ + 30 + ], + scale32: true, + double_round: true, + per_channel: false + }, + inputs: [ + "layer_2" + ], + outputs: [ + "layer_3" + ] + }, + { + op: "RESCALE", + attribute_type: "RescaleAttribute", + attribute: { + input_zp: 0, + output_zp: 128, + multiplier: [ + 1073741824 + ], + shift: [ + 30 + ], + scale32: true, + double_round: false, + per_channel: false + }, + inputs: [ + "layer_3" + ], + outputs: [ + "TosaOutput_0" + ] + } + ], + tensors: [ + { + name: "TosaInput_0", + shape: [ + 1, + 4, + 8, + 19 + ], + type: "UINT8", + data: [ + + ] + }, + { + name: "TosaOutput_0", + shape: [ + 1, + 8, + 16, + 19 + ], + type: "UINT8", + data: [ + + ] + }, + { + name: "layer_0", + shape: [ + 1, + 4, + 8, + 19 + ], + type: "INT8", + data: [ + + ] + }, + { + name: "layer_1", + shape: [ + 1, + 4, + 8, + 19 + ], + type: "INT8", + data: [ + + ] + }, + { + name: "layer_2", + shape: [ + 1, + 8, + 16, + 19 + ], + type: "INT8", + data: [ + + ] + }, + { + name: "layer_3", + shape: [ + 1, + 8, + 16, + 19 + ], + type: "INT8", + data: [ + + ] + } + ], + inputs: [ + "TosaInput_0" + ], + outputs: [ + "TosaOutput_0" + ] + } + ] +} |