aboutsummaryrefslogtreecommitdiff
path: root/frameworks/tflite/operators/leaky_relu_1_qi16_0/test_leaky_relu_1_qi16_0.json
diff options
context:
space:
mode:
Diffstat (limited to 'frameworks/tflite/operators/leaky_relu_1_qi16_0/test_leaky_relu_1_qi16_0.json')
-rw-r--r--frameworks/tflite/operators/leaky_relu_1_qi16_0/test_leaky_relu_1_qi16_0.json314
1 files changed, 135 insertions, 179 deletions
diff --git a/frameworks/tflite/operators/leaky_relu_1_qi16_0/test_leaky_relu_1_qi16_0.json b/frameworks/tflite/operators/leaky_relu_1_qi16_0/test_leaky_relu_1_qi16_0.json
index 502902c69..e6aca0436 100644
--- a/frameworks/tflite/operators/leaky_relu_1_qi16_0/test_leaky_relu_1_qi16_0.json
+++ b/frameworks/tflite/operators/leaky_relu_1_qi16_0/test_leaky_relu_1_qi16_0.json
@@ -5,197 +5,153 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "CONST",
- attribute_type: "NONE",
- inputs: [
-
- ],
- 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_0"
- ],
- outputs: [
- "layer_1"
- ]
- },
- {
- op: "GREATER_EQUAL",
- attribute_type: "NONE",
- inputs: [
- "layer_1",
- "layer_0"
- ],
- outputs: [
- "layer_2"
- ]
- },
- {
- op: "RESCALE",
- attribute_type: "RescaleAttribute",
- attribute: {
- input_zp: 0,
- output_zp: 0,
- multiplier: [
- 1400891264
- ],
- shift: [
- 32
- ],
- scale32: true,
- double_round: true,
- per_channel: false
- },
- inputs: [
- "TosaInput_0"
- ],
- outputs: [
- "layer_3"
- ]
- },
- {
- 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: [
- "TosaInput_0"
- ],
- outputs: [
- "layer_4"
- ]
- },
- {
- op: "SELECT",
- attribute_type: "NONE",
- inputs: [
- "layer_2",
- "layer_4",
- "layer_3"
+ name: "main",
+ operators: [
+ {
+ op: "RESCALE",
+ attribute_type: "RescaleAttribute",
+ attribute: {
+ input_zp: 0,
+ output_zp: 0,
+ multiplier: [
+ 1400891264
+ ],
+ shift: [
+ 32
+ ],
+ scale32: true,
+ double_round: true,
+ 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: [
+ "TosaInput_0"
+ ],
+ outputs: [
+ "layer_1"
+ ]
+ },
+ {
+ op: "MAXIMUM",
+ attribute_type: "NONE",
+ inputs: [
+ "layer_1",
+ "layer_0"
+ ],
+ 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: [
+ "TosaOutput_0"
+ ]
+ }
],
- outputs: [
- "TosaOutput_0"
- ]
- }
- ],
- tensors: [
- {
- name: "TosaInput_0",
- shape: [
- 1
- ],
- type: "INT16",
- data: [
+ tensors: [
+ {
+ name: "TosaInput_0",
+ shape: [
+ 1
+ ],
+ type: "INT16",
+ data: [
- ]
- },
- {
- name: "TosaOutput_0",
- shape: [
- 1
- ],
- type: "INT16",
- data: [
+ ]
+ },
+ {
+ name: "TosaOutput_0",
+ shape: [
+ 1
+ ],
+ type: "INT16",
+ data: [
- ]
- },
- {
- name: "layer_0",
- shape: [
- 1
- ],
- type: "INT32",
- data: [
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0
- ]
- },
- {
- name: "layer_1",
- shape: [
- 1
- ],
- type: "INT32",
- data: [
+ ]
+ },
+ {
+ name: "layer_0",
+ shape: [
+ 1
+ ],
+ type: "INT32",
+ data: [
- ]
- },
- {
- name: "layer_2",
- shape: [
- 1
- ],
- type: "BOOL",
- data: [
+ ]
+ },
+ {
+ name: "layer_1",
+ shape: [
+ 1
+ ],
+ type: "INT32",
+ data: [
- ]
- },
- {
- name: "layer_3",
- shape: [
- 1
- ],
- type: "INT16",
- data: [
+ ]
+ },
+ {
+ name: "layer_2",
+ shape: [
+ 1
+ ],
+ type: "INT32",
+ data: [
- ]
- },
- {
- name: "layer_4",
- shape: [
- 1
+ ]
+ }
],
- type: "INT16",
- data: [
-
+ inputs: [
+ "TosaInput_0"
+ ],
+ outputs: [
+ "TosaOutput_0"
]
}
- ],
- inputs: [
- "TosaInput_0"
- ],
- outputs: [
- "TosaOutput_0"
]
}
]