diff options
Diffstat (limited to 'frameworks/tflite/operators/mul_1x4x8x19_qu8/test_mul_1x4x8x19_qu8.json')
-rw-r--r-- | frameworks/tflite/operators/mul_1x4x8x19_qu8/test_mul_1x4x8x19_qu8.json | 749 |
1 files changed, 377 insertions, 372 deletions
diff --git a/frameworks/tflite/operators/mul_1x4x8x19_qu8/test_mul_1x4x8x19_qu8.json b/frameworks/tflite/operators/mul_1x4x8x19_qu8/test_mul_1x4x8x19_qu8.json index 69ce87cf3..953e6c324 100644 --- a/frameworks/tflite/operators/mul_1x4x8x19_qu8/test_mul_1x4x8x19_qu8.json +++ b/frameworks/tflite/operators/mul_1x4x8x19_qu8/test_mul_1x4x8x19_qu8.json @@ -5,396 +5,401 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - 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_1" - ], - outputs: [ - "layer_0" - ] - }, - { - op: "RESCALE", - attribute_type: "RescaleAttribute", - attribute: { - input_zp: 127, - output_zp: -1, - multiplier: [ - 1073741824 - ], - shift: [ - 30 - ], - scale32: true, - double_round: false, - per_channel: false - }, - inputs: [ - "TosaInput_0" - ], - outputs: [ - "layer_1" - ] - }, - { - op: "RESCALE", - attribute_type: "RescaleAttribute", - attribute: { - input_zp: -1, - output_zp: -1, - multiplier: [ - 1073741824 - ], - shift: [ - 30 - ], - scale32: true, - double_round: true, - per_channel: false - }, - 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_0" - ], - outputs: [ - "layer_3" - ] - }, - { - op: "RESCALE", - attribute_type: "RescaleAttribute", - attribute: { - input_zp: -1, - output_zp: 0, - multiplier: [ - 1073741824 - ], - shift: [ - 30 - ], - scale32: true, - double_round: false, - per_channel: false - }, - inputs: [ - "layer_2" - ], - outputs: [ - "layer_4" - ] - }, - { - op: "RESCALE", - attribute_type: "RescaleAttribute", - attribute: { - input_zp: 0, - output_zp: 0, - multiplier: [ - 1073741824 - ], - shift: [ - 30 - ], - scale32: true, - double_round: false, - per_channel: false - }, - inputs: [ - "layer_3" - ], - outputs: [ - "layer_5" - ] - }, - { - op: "MUL", - attribute_type: "MulAttribute", - attribute: { - shift: 0 - }, - inputs: [ - "layer_4", - "layer_5" - ], - outputs: [ - "layer_6" - ] - }, - { - op: "RESCALE", - attribute_type: "RescaleAttribute", - attribute: { - input_zp: 0, - output_zp: -1, - multiplier: [ - 1082504064 - ], - shift: [ - 37 - ], - scale32: true, - double_round: true, - per_channel: false - }, - inputs: [ - "layer_6" - ], - outputs: [ - "layer_7" - ] - }, - { - op: "RESCALE", - attribute_type: "RescaleAttribute", - attribute: { - input_zp: -1, - output_zp: -1, - multiplier: [ - 1073741824 - ], - shift: [ - 30 - ], - scale32: true, - double_round: true, - per_channel: false - }, - inputs: [ - "layer_7" - ], - outputs: [ - "layer_8" - ] - }, - { - op: "RESCALE", - attribute_type: "RescaleAttribute", - attribute: { - input_zp: -1, - output_zp: 127, - multiplier: [ - 1073741824 - ], - shift: [ - 30 - ], - scale32: true, - double_round: false, - per_channel: false - }, - inputs: [ - "layer_8" - ], - outputs: [ - "TosaOutput_0" - ] - } - ], - tensors: [ - { - name: "TosaInput_0", - shape: [ - 1, - 4, - 8, - 19 + 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_1" + ], + outputs: [ + "layer_0" + ] + }, + { + op: "RESCALE", + attribute_type: "RescaleAttribute", + attribute: { + input_zp: 127, + output_zp: -1, + multiplier: [ + 1073741824 + ], + shift: [ + 30 + ], + scale32: true, + double_round: false, + per_channel: false + }, + inputs: [ + "TosaInput_0" + ], + outputs: [ + "layer_1" + ] + }, + { + op: "RESCALE", + attribute_type: "RescaleAttribute", + attribute: { + input_zp: -1, + output_zp: -1, + multiplier: [ + 1073741824 + ], + shift: [ + 30 + ], + scale32: true, + double_round: true, + per_channel: false + }, + 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_0" + ], + outputs: [ + "layer_3" + ] + }, + { + op: "RESCALE", + attribute_type: "RescaleAttribute", + attribute: { + input_zp: -1, + output_zp: 0, + multiplier: [ + 1073741824 + ], + shift: [ + 30 + ], + scale32: true, + double_round: false, + per_channel: false + }, + inputs: [ + "layer_2" + ], + outputs: [ + "layer_4" + ] + }, + { + op: "RESCALE", + attribute_type: "RescaleAttribute", + attribute: { + input_zp: 0, + output_zp: 0, + multiplier: [ + 1073741824 + ], + shift: [ + 30 + ], + scale32: true, + double_round: false, + per_channel: false + }, + inputs: [ + "layer_3" + ], + outputs: [ + "layer_5" + ] + }, + { + op: "MUL", + attribute_type: "MulAttribute", + attribute: { + shift: 0 + }, + inputs: [ + "layer_4", + "layer_5" + ], + outputs: [ + "layer_6" + ] + }, + { + op: "RESCALE", + attribute_type: "RescaleAttribute", + attribute: { + input_zp: 0, + output_zp: -1, + multiplier: [ + 1082504064 + ], + shift: [ + 37 + ], + scale32: true, + double_round: true, + per_channel: false + }, + inputs: [ + "layer_6" + ], + outputs: [ + "layer_7" + ] + }, + { + op: "RESCALE", + attribute_type: "RescaleAttribute", + attribute: { + input_zp: -1, + output_zp: -1, + multiplier: [ + 1073741824 + ], + shift: [ + 30 + ], + scale32: true, + double_round: true, + per_channel: false + }, + inputs: [ + "layer_7" + ], + outputs: [ + "layer_8" + ] + }, + { + op: "RESCALE", + attribute_type: "RescaleAttribute", + attribute: { + input_zp: -1, + output_zp: 127, + multiplier: [ + 1073741824 + ], + shift: [ + 30 + ], + scale32: true, + double_round: false, + per_channel: false + }, + inputs: [ + "layer_8" + ], + outputs: [ + "TosaOutput_0" + ] + } ], - type: "UINT8", - data: [ + tensors: [ + { + name: "TosaInput_0", + shape: [ + 1, + 4, + 8, + 19 + ], + type: "UINT8", + data: [ - ] - }, - { - name: "TosaInput_1", - shape: [ - 1, - 4, - 1, - 19 - ], - type: "UINT8", - data: [ + ] + }, + { + name: "TosaInput_1", + shape: [ + 1, + 4, + 1, + 19 + ], + type: "UINT8", + data: [ - ] - }, - { - name: "TosaOutput_0", - shape: [ - 1, - 4, - 8, - 19 - ], - type: "UINT8", - data: [ + ] + }, + { + name: "TosaOutput_0", + shape: [ + 1, + 4, + 8, + 19 + ], + type: "UINT8", + data: [ - ] - }, - { - name: "layer_0", - shape: [ - 1, - 4, - 1, - 19 - ], - type: "INT8", - data: [ + ] + }, + { + name: "layer_0", + shape: [ + 1, + 4, + 1, + 19 + ], + type: "INT8", + data: [ - ] - }, - { - name: "layer_1", - shape: [ - 1, - 4, - 8, - 19 - ], - type: "INT8", - data: [ + ] + }, + { + name: "layer_1", + shape: [ + 1, + 4, + 8, + 19 + ], + type: "INT8", + data: [ - ] - }, - { - name: "layer_2", - shape: [ - 1, - 4, - 8, - 19 - ], - type: "INT8", - data: [ + ] + }, + { + name: "layer_2", + shape: [ + 1, + 4, + 8, + 19 + ], + type: "INT8", + data: [ - ] - }, - { - name: "layer_3", - shape: [ - 1, - 4, - 1, - 19 - ], - type: "INT8", - data: [ + ] + }, + { + name: "layer_3", + shape: [ + 1, + 4, + 1, + 19 + ], + type: "INT8", + data: [ - ] - }, - { - name: "layer_4", - shape: [ - 1, - 4, - 8, - 19 - ], - type: "INT32", - data: [ + ] + }, + { + name: "layer_4", + shape: [ + 1, + 4, + 8, + 19 + ], + type: "INT32", + data: [ - ] - }, - { - name: "layer_5", - shape: [ - 1, - 4, - 1, - 19 - ], - type: "INT32", - data: [ + ] + }, + { + name: "layer_5", + shape: [ + 1, + 4, + 1, + 19 + ], + type: "INT32", + data: [ - ] - }, - { - name: "layer_6", - shape: [ - 1, - 4, - 8, - 19 - ], - type: "INT32", - data: [ + ] + }, + { + name: "layer_6", + shape: [ + 1, + 4, + 8, + 19 + ], + type: "INT32", + data: [ - ] - }, - { - name: "layer_7", - shape: [ - 1, - 4, - 8, - 19 - ], - type: "INT8", - data: [ + ] + }, + { + name: "layer_7", + shape: [ + 1, + 4, + 8, + 19 + ], + type: "INT8", + data: [ - ] - }, - { - name: "layer_8", - shape: [ - 1, - 4, - 8, - 19 - ], - type: "INT8", - data: [ + ] + }, + { + name: "layer_8", + shape: [ + 1, + 4, + 8, + 19 + ], + type: "INT8", + data: [ + ] + } + ], + inputs: [ + "TosaInput_0", + "TosaInput_1" + ], + outputs: [ + "TosaOutput_0" ] } - ], - inputs: [ - "TosaInput_0", - "TosaInput_1" - ], - outputs: [ - "TosaOutput_0" ] } ] |