aboutsummaryrefslogtreecommitdiff
path: root/frameworks/tflite/operators/add_1x32x32x8_qi8/test_add_1x32x32x8_qi8.json
diff options
context:
space:
mode:
Diffstat (limited to 'frameworks/tflite/operators/add_1x32x32x8_qi8/test_add_1x32x32x8_qi8.json')
-rw-r--r--frameworks/tflite/operators/add_1x32x32x8_qi8/test_add_1x32x32x8_qi8.json323
1 files changed, 164 insertions, 159 deletions
diff --git a/frameworks/tflite/operators/add_1x32x32x8_qi8/test_add_1x32x32x8_qi8.json b/frameworks/tflite/operators/add_1x32x32x8_qi8/test_add_1x32x32x8_qi8.json
index 2a61437a5..35db92dfa 100644
--- a/frameworks/tflite/operators/add_1x32x32x8_qi8/test_add_1x32x32x8_qi8.json
+++ b/frameworks/tflite/operators/add_1x32x32x8_qi8/test_add_1x32x32x8_qi8.json
@@ -5,177 +5,182 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "RESCALE",
- attribute_type: "RescaleAttribute",
- attribute: {
- input_zp: 0,
- output_zp: 0,
- multiplier: [
- 2147446673
- ],
- shift: [
- 12
- ],
- scale32: true,
- double_round: false,
- per_channel: false
- },
- inputs: [
- "TosaInput_0"
- ],
- outputs: [
- "layer_0"
- ]
- },
- {
- op: "RESCALE",
- attribute_type: "RescaleAttribute",
- attribute: {
- input_zp: -1,
- output_zp: 0,
- multiplier: [
- 1073741824
- ],
- shift: [
- 11
- ],
- scale32: true,
- double_round: false,
- per_channel: false
- },
- inputs: [
- "TosaInput_1"
- ],
- outputs: [
- "layer_1"
- ]
- },
- {
- op: "ADD",
- attribute_type: "NONE",
- inputs: [
- "layer_0",
- "layer_1"
- ],
- outputs: [
- "layer_2"
- ]
- },
- {
- op: "RESCALE",
- attribute_type: "RescaleAttribute",
- attribute: {
- input_zp: 0,
- output_zp: -1,
- multiplier: [
- 1075101167
- ],
- shift: [
- 50
- ],
- scale32: true,
- double_round: true,
- per_channel: false
- },
- inputs: [
- "layer_2"
- ],
- outputs: [
- "TosaOutput_0"
- ]
- }
- ],
- tensors: [
- {
- name: "TosaInput_0",
- shape: [
- 1,
- 32,
- 32,
- 1
+ name: "main",
+ operators: [
+ {
+ op: "RESCALE",
+ attribute_type: "RescaleAttribute",
+ attribute: {
+ input_zp: 0,
+ output_zp: 0,
+ multiplier: [
+ 2147446673
+ ],
+ shift: [
+ 12
+ ],
+ scale32: true,
+ double_round: false,
+ per_channel: false
+ },
+ inputs: [
+ "TosaInput_0"
+ ],
+ outputs: [
+ "layer_0"
+ ]
+ },
+ {
+ op: "RESCALE",
+ attribute_type: "RescaleAttribute",
+ attribute: {
+ input_zp: -1,
+ output_zp: 0,
+ multiplier: [
+ 1073741824
+ ],
+ shift: [
+ 11
+ ],
+ scale32: true,
+ double_round: false,
+ per_channel: false
+ },
+ inputs: [
+ "TosaInput_1"
+ ],
+ outputs: [
+ "layer_1"
+ ]
+ },
+ {
+ op: "ADD",
+ attribute_type: "NONE",
+ inputs: [
+ "layer_0",
+ "layer_1"
+ ],
+ outputs: [
+ "layer_2"
+ ]
+ },
+ {
+ op: "RESCALE",
+ attribute_type: "RescaleAttribute",
+ attribute: {
+ input_zp: 0,
+ output_zp: -1,
+ multiplier: [
+ 1075101167
+ ],
+ shift: [
+ 50
+ ],
+ scale32: true,
+ double_round: true,
+ per_channel: false
+ },
+ inputs: [
+ "layer_2"
+ ],
+ outputs: [
+ "TosaOutput_0"
+ ]
+ }
],
- type: "INT8",
- data: [
+ tensors: [
+ {
+ name: "TosaInput_0",
+ shape: [
+ 1,
+ 32,
+ 32,
+ 1
+ ],
+ type: "INT8",
+ data: [
- ]
- },
- {
- name: "TosaInput_1",
- shape: [
- 1,
- 32,
- 32,
- 8
- ],
- type: "INT8",
- data: [
+ ]
+ },
+ {
+ name: "TosaInput_1",
+ shape: [
+ 1,
+ 32,
+ 32,
+ 8
+ ],
+ type: "INT8",
+ data: [
- ]
- },
- {
- name: "TosaOutput_0",
- shape: [
- 1,
- 32,
- 32,
- 8
- ],
- type: "INT8",
- data: [
+ ]
+ },
+ {
+ name: "TosaOutput_0",
+ shape: [
+ 1,
+ 32,
+ 32,
+ 8
+ ],
+ type: "INT8",
+ data: [
- ]
- },
- {
- name: "layer_0",
- shape: [
- 1,
- 32,
- 32,
- 1
- ],
- type: "INT32",
- data: [
+ ]
+ },
+ {
+ name: "layer_0",
+ shape: [
+ 1,
+ 32,
+ 32,
+ 1
+ ],
+ type: "INT32",
+ data: [
- ]
- },
- {
- name: "layer_1",
- shape: [
- 1,
- 32,
- 32,
- 8
- ],
- type: "INT32",
- data: [
+ ]
+ },
+ {
+ name: "layer_1",
+ shape: [
+ 1,
+ 32,
+ 32,
+ 8
+ ],
+ type: "INT32",
+ data: [
- ]
- },
- {
- name: "layer_2",
- shape: [
- 1,
- 32,
- 32,
- 8
- ],
- type: "INT32",
- data: [
+ ]
+ },
+ {
+ name: "layer_2",
+ shape: [
+ 1,
+ 32,
+ 32,
+ 8
+ ],
+ type: "INT32",
+ data: [
+ ]
+ }
+ ],
+ inputs: [
+ "TosaInput_0",
+ "TosaInput_1"
+ ],
+ outputs: [
+ "TosaOutput_0"
]
}
- ],
- inputs: [
- "TosaInput_0",
- "TosaInput_1"
- ],
- outputs: [
- "TosaOutput_0"
]
}
]