aboutsummaryrefslogtreecommitdiff
path: root/frameworks/tflite/operators/mul_13x21x3_qi16/test_mul_13x21x3_qi16.json
diff options
context:
space:
mode:
Diffstat (limited to 'frameworks/tflite/operators/mul_13x21x3_qi16/test_mul_13x21x3_qi16.json')
-rw-r--r--frameworks/tflite/operators/mul_13x21x3_qi16/test_mul_13x21x3_qi16.json317
1 files changed, 161 insertions, 156 deletions
diff --git a/frameworks/tflite/operators/mul_13x21x3_qi16/test_mul_13x21x3_qi16.json b/frameworks/tflite/operators/mul_13x21x3_qi16/test_mul_13x21x3_qi16.json
index bd09e5804..ab7bad9c6 100644
--- a/frameworks/tflite/operators/mul_13x21x3_qi16/test_mul_13x21x3_qi16.json
+++ b/frameworks/tflite/operators/mul_13x21x3_qi16/test_mul_13x21x3_qi16.json
@@ -5,174 +5,179 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- 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: [
- "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: false,
- per_channel: false
- },
- inputs: [
- "TosaInput_1"
- ],
- outputs: [
- "layer_1"
- ]
- },
- {
- op: "MUL",
- attribute_type: "MulAttribute",
- attribute: {
- shift: 0
- },
- inputs: [
- "layer_0",
- "layer_1"
- ],
- outputs: [
- "layer_2"
- ]
- },
- {
- op: "RESCALE",
- attribute_type: "RescaleAttribute",
- attribute: {
- input_zp: 0,
- output_zp: 0,
- multiplier: [
- 1075255808
- ],
- shift: [
- 45
- ],
- scale32: true,
- double_round: true,
- per_channel: false
- },
- inputs: [
- "layer_2"
- ],
- outputs: [
- "TosaOutput_0"
- ]
- }
- ],
- tensors: [
- {
- name: "TosaInput_0",
- shape: [
- 13,
- 21,
- 3
+ name: "main",
+ operators: [
+ {
+ 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: [
+ "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: false,
+ per_channel: false
+ },
+ inputs: [
+ "TosaInput_1"
+ ],
+ outputs: [
+ "layer_1"
+ ]
+ },
+ {
+ op: "MUL",
+ attribute_type: "MulAttribute",
+ attribute: {
+ shift: 0
+ },
+ inputs: [
+ "layer_0",
+ "layer_1"
+ ],
+ outputs: [
+ "layer_2"
+ ]
+ },
+ {
+ op: "RESCALE",
+ attribute_type: "RescaleAttribute",
+ attribute: {
+ input_zp: 0,
+ output_zp: 0,
+ multiplier: [
+ 1075255808
+ ],
+ shift: [
+ 45
+ ],
+ scale32: true,
+ double_round: true,
+ per_channel: false
+ },
+ inputs: [
+ "layer_2"
+ ],
+ outputs: [
+ "TosaOutput_0"
+ ]
+ }
],
- type: "INT16",
- data: [
+ tensors: [
+ {
+ name: "TosaInput_0",
+ shape: [
+ 13,
+ 21,
+ 3
+ ],
+ type: "INT16",
+ data: [
- ]
- },
- {
- name: "TosaInput_1",
- shape: [
- 13,
- 1,
- 3
- ],
- type: "INT16",
- data: [
+ ]
+ },
+ {
+ name: "TosaInput_1",
+ shape: [
+ 13,
+ 1,
+ 3
+ ],
+ type: "INT16",
+ data: [
- ]
- },
- {
- name: "TosaOutput_0",
- shape: [
- 13,
- 21,
- 3
- ],
- type: "INT16",
- data: [
+ ]
+ },
+ {
+ name: "TosaOutput_0",
+ shape: [
+ 13,
+ 21,
+ 3
+ ],
+ type: "INT16",
+ data: [
- ]
- },
- {
- name: "layer_0",
- shape: [
- 13,
- 21,
- 3
- ],
- type: "INT32",
- data: [
+ ]
+ },
+ {
+ name: "layer_0",
+ shape: [
+ 13,
+ 21,
+ 3
+ ],
+ type: "INT32",
+ data: [
- ]
- },
- {
- name: "layer_1",
- shape: [
- 13,
- 1,
- 3
- ],
- type: "INT32",
- data: [
+ ]
+ },
+ {
+ name: "layer_1",
+ shape: [
+ 13,
+ 1,
+ 3
+ ],
+ type: "INT32",
+ data: [
- ]
- },
- {
- name: "layer_2",
- shape: [
- 13,
- 21,
- 3
- ],
- type: "INT32",
- data: [
+ ]
+ },
+ {
+ name: "layer_2",
+ shape: [
+ 13,
+ 21,
+ 3
+ ],
+ type: "INT32",
+ data: [
+ ]
+ }
+ ],
+ inputs: [
+ "TosaInput_0",
+ "TosaInput_1"
+ ],
+ outputs: [
+ "TosaOutput_0"
]
}
- ],
- inputs: [
- "TosaInput_0",
- "TosaInput_1"
- ],
- outputs: [
- "TosaOutput_0"
]
}
]