aboutsummaryrefslogtreecommitdiff
path: root/frameworks/tflite/operators/split_13x21x3_i32_splitv_axis0
diff options
context:
space:
mode:
Diffstat (limited to 'frameworks/tflite/operators/split_13x21x3_i32_splitv_axis0')
-rw-r--r--frameworks/tflite/operators/split_13x21x3_i32_splitv_axis0/Conformance-TosaOutput_0.json7
-rw-r--r--frameworks/tflite/operators/split_13x21x3_i32_splitv_axis0/model-tflite.json109
-rw-r--r--frameworks/tflite/operators/split_13x21x3_i32_splitv_axis0/test_split_13x21x3_i32_splitv_axis0.json204
3 files changed, 242 insertions, 78 deletions
diff --git a/frameworks/tflite/operators/split_13x21x3_i32_splitv_axis0/Conformance-TosaOutput_0.json b/frameworks/tflite/operators/split_13x21x3_i32_splitv_axis0/Conformance-TosaOutput_0.json
index e7b62fc03..abc75e092 100644
--- a/frameworks/tflite/operators/split_13x21x3_i32_splitv_axis0/Conformance-TosaOutput_0.json
+++ b/frameworks/tflite/operators/split_13x21x3_i32_splitv_axis0/Conformance-TosaOutput_0.json
@@ -1,9 +1,10 @@
{
"type": "int32",
"data": [
- -162,
- 180,
- 343,
+ -316,
+ 435,
+ -91,
+ 333,
768,
-137
]
diff --git a/frameworks/tflite/operators/split_13x21x3_i32_splitv_axis0/model-tflite.json b/frameworks/tflite/operators/split_13x21x3_i32_splitv_axis0/model-tflite.json
index 7bff59d41..601fd78d1 100644
--- a/frameworks/tflite/operators/split_13x21x3_i32_splitv_axis0/model-tflite.json
+++ b/frameworks/tflite/operators/split_13x21x3_i32_splitv_axis0/model-tflite.json
@@ -50,7 +50,7 @@
},
{
shape: [
- 5
+ 6
],
type: "INT32",
buffer: 3,
@@ -76,7 +76,7 @@
},
{
shape: [
- 3,
+ 6,
21,
3
],
@@ -91,7 +91,7 @@
},
{
shape: [
- 7,
+ 1,
21,
3
],
@@ -121,7 +121,7 @@
},
{
shape: [
- 1,
+ 3,
21,
3
],
@@ -151,11 +151,13 @@
},
{
shape: [
-
+ 1,
+ 21,
+ 3
],
type: "INT32",
buffer: 10,
- name: "reduce_0",
+ name: "split5",
quantization: {
details_type: "NONE",
quantized_dimension: 0
@@ -168,7 +170,7 @@
],
type: "INT32",
buffer: 11,
- name: "reduce_1",
+ name: "reduce_0",
quantization: {
details_type: "NONE",
quantized_dimension: 0
@@ -181,7 +183,7 @@
],
type: "INT32",
buffer: 12,
- name: "reduce_2",
+ name: "reduce_1",
quantization: {
details_type: "NONE",
quantized_dimension: 0
@@ -194,7 +196,7 @@
],
type: "INT32",
buffer: 13,
- name: "reduce_3",
+ name: "reduce_2",
quantization: {
details_type: "NONE",
quantized_dimension: 0
@@ -207,7 +209,7 @@
],
type: "INT32",
buffer: 14,
- name: "reduce_4",
+ name: "reduce_3",
quantization: {
details_type: "NONE",
quantized_dimension: 0
@@ -216,10 +218,36 @@
},
{
shape: [
- 5
+
],
type: "INT32",
buffer: 15,
+ name: "reduce_4",
+ quantization: {
+ details_type: "NONE",
+ quantized_dimension: 0
+ },
+ is_variable: false
+ },
+ {
+ shape: [
+
+ ],
+ type: "INT32",
+ buffer: 16,
+ name: "reduce_5",
+ quantization: {
+ details_type: "NONE",
+ quantized_dimension: 0
+ },
+ is_variable: false
+ },
+ {
+ shape: [
+ 6
+ ],
+ type: "INT32",
+ buffer: 17,
name: "PartitionedCall:0",
quantization: {
details_type: "NONE",
@@ -232,7 +260,7 @@
0
],
outputs: [
- 14
+ 16
],
operators: [
{
@@ -247,11 +275,12 @@
5,
6,
7,
- 8
+ 8,
+ 9
],
builtin_options_type: "SplitVOptions",
builtin_options: {
- num_splits: 5
+ num_splits: 6
},
custom_options_format: "FLEXBUFFERS"
},
@@ -262,7 +291,7 @@
1
],
outputs: [
- 9
+ 10
],
builtin_options_type: "ReducerOptions",
builtin_options: {
@@ -277,7 +306,7 @@
1
],
outputs: [
- 10
+ 11
],
builtin_options_type: "ReducerOptions",
builtin_options: {
@@ -292,7 +321,7 @@
1
],
outputs: [
- 11
+ 12
],
builtin_options_type: "ReducerOptions",
builtin_options: {
@@ -307,7 +336,7 @@
1
],
outputs: [
- 12
+ 13
],
builtin_options_type: "ReducerOptions",
builtin_options: {
@@ -322,7 +351,7 @@
1
],
outputs: [
- 13
+ 14
],
builtin_options_type: "ReducerOptions",
builtin_options: {
@@ -331,20 +360,36 @@
custom_options_format: "FLEXBUFFERS"
},
{
- opcode_index: 2,
+ opcode_index: 1,
inputs: [
9,
+ 1
+ ],
+ outputs: [
+ 15
+ ],
+ builtin_options_type: "ReducerOptions",
+ builtin_options: {
+ keep_dims: false
+ },
+ custom_options_format: "FLEXBUFFERS"
+ },
+ {
+ opcode_index: 2,
+ inputs: [
10,
11,
12,
- 13
+ 13,
+ 14,
+ 15
],
outputs: [
- 14
+ 16
],
builtin_options_type: "PackOptions",
builtin_options: {
- values_count: 5,
+ values_count: 6,
axis: 0
},
custom_options_format: "FLEXBUFFERS"
@@ -377,11 +422,11 @@
},
{
data: [
- 3,
+ 6,
0,
0,
0,
- 7,
+ 1,
0,
0,
0,
@@ -389,6 +434,10 @@
0,
0,
0,
+ 3,
+ 0,
+ 0,
+ 0,
1,
0,
0,
@@ -430,6 +479,10 @@
{
},
{
+ },
+ {
+ },
+ {
data: [
49,
46,
@@ -541,11 +594,11 @@
metadata: [
{
name: "min_runtime_version",
- buffer: 16
+ buffer: 18
},
{
name: "CONVERSION_METADATA",
- buffer: 17
+ buffer: 19
}
],
signature_defs: [
@@ -559,7 +612,7 @@
outputs: [
{
name: "output_0",
- tensor_index: 14
+ tensor_index: 16
}
],
method_name: "serving_default",
diff --git a/frameworks/tflite/operators/split_13x21x3_i32_splitv_axis0/test_split_13x21x3_i32_splitv_axis0.json b/frameworks/tflite/operators/split_13x21x3_i32_splitv_axis0/test_split_13x21x3_i32_splitv_axis0.json
index 8ae4ee1bd..92e8394d1 100644
--- a/frameworks/tflite/operators/split_13x21x3_i32_splitv_axis0/test_split_13x21x3_i32_splitv_axis0.json
+++ b/frameworks/tflite/operators/split_13x21x3_i32_splitv_axis0/test_split_13x21x3_i32_splitv_axis0.json
@@ -22,7 +22,7 @@
0
],
size: [
- 3,
+ 6,
21,
3
]
@@ -39,12 +39,12 @@
attribute_type: "SliceAttribute",
attribute: {
start: [
- 3,
+ 6,
0,
0
],
size: [
- 7,
+ 1,
21,
3
]
@@ -61,7 +61,7 @@
attribute_type: "SliceAttribute",
attribute: {
start: [
- 10,
+ 7,
0,
0
],
@@ -83,12 +83,12 @@
attribute_type: "SliceAttribute",
attribute: {
start: [
- 11,
+ 8,
0,
0
],
size: [
- 1,
+ 3,
21,
3
]
@@ -105,7 +105,7 @@
attribute_type: "SliceAttribute",
attribute: {
start: [
- 12,
+ 11,
0,
0
],
@@ -123,13 +123,22 @@
]
},
{
- op: "REDUCE_SUM",
- attribute_type: "AxisAttribute",
+ op: "SLICE",
+ attribute_type: "SliceAttribute",
attribute: {
- axis: 0
+ start: [
+ 12,
+ 0,
+ 0
+ ],
+ size: [
+ 1,
+ 21,
+ 3
+ ]
},
inputs: [
- "layer_0"
+ "TosaInput_0"
],
outputs: [
"layer_5"
@@ -139,10 +148,10 @@
op: "REDUCE_SUM",
attribute_type: "AxisAttribute",
attribute: {
- axis: 1
+ axis: 0
},
inputs: [
- "layer_5"
+ "layer_0"
],
outputs: [
"layer_6"
@@ -152,7 +161,7 @@
op: "REDUCE_SUM",
attribute_type: "AxisAttribute",
attribute: {
- axis: 2
+ axis: 1
},
inputs: [
"layer_6"
@@ -165,10 +174,10 @@
op: "REDUCE_SUM",
attribute_type: "AxisAttribute",
attribute: {
- axis: 0
+ axis: 2
},
inputs: [
- "layer_1"
+ "layer_7"
],
outputs: [
"layer_8"
@@ -181,7 +190,7 @@
axis: 1
},
inputs: [
- "layer_8"
+ "layer_1"
],
outputs: [
"layer_9"
@@ -230,7 +239,7 @@
op: "REDUCE_SUM",
attribute_type: "AxisAttribute",
attribute: {
- axis: 1
+ axis: 0
},
inputs: [
"layer_3"
@@ -243,7 +252,7 @@
op: "REDUCE_SUM",
attribute_type: "AxisAttribute",
attribute: {
- axis: 2
+ axis: 1
},
inputs: [
"layer_13"
@@ -256,13 +265,26 @@
op: "REDUCE_SUM",
attribute_type: "AxisAttribute",
attribute: {
+ axis: 2
+ },
+ inputs: [
+ "layer_14"
+ ],
+ outputs: [
+ "layer_15"
+ ]
+ },
+ {
+ op: "REDUCE_SUM",
+ attribute_type: "AxisAttribute",
+ attribute: {
axis: 1
},
inputs: [
"layer_4"
],
outputs: [
- "layer_15"
+ "layer_16"
]
},
{
@@ -272,10 +294,36 @@
axis: 2
},
inputs: [
- "layer_15"
+ "layer_16"
],
outputs: [
- "layer_16"
+ "layer_17"
+ ]
+ },
+ {
+ op: "REDUCE_SUM",
+ attribute_type: "AxisAttribute",
+ attribute: {
+ axis: 1
+ },
+ inputs: [
+ "layer_5"
+ ],
+ outputs: [
+ "layer_18"
+ ]
+ },
+ {
+ op: "REDUCE_SUM",
+ attribute_type: "AxisAttribute",
+ attribute: {
+ axis: 2
+ },
+ inputs: [
+ "layer_18"
+ ],
+ outputs: [
+ "layer_19"
]
},
{
@@ -287,10 +335,10 @@
]
},
inputs: [
- "layer_7"
+ "layer_8"
],
outputs: [
- "layer_17"
+ "layer_20"
]
},
{
@@ -305,7 +353,7 @@
"layer_10"
],
outputs: [
- "layer_18"
+ "layer_21"
]
},
{
@@ -320,7 +368,7 @@
"layer_12"
],
outputs: [
- "layer_19"
+ "layer_22"
]
},
{
@@ -332,10 +380,10 @@
]
},
inputs: [
- "layer_14"
+ "layer_15"
],
outputs: [
- "layer_20"
+ "layer_23"
]
},
{
@@ -347,10 +395,25 @@
]
},
inputs: [
- "layer_16"
+ "layer_17"
],
outputs: [
- "layer_21"
+ "layer_24"
+ ]
+ },
+ {
+ op: "RESHAPE",
+ attribute_type: "ReshapeAttribute",
+ attribute: {
+ new_shape: [
+ 1
+ ]
+ },
+ inputs: [
+ "layer_19"
+ ],
+ outputs: [
+ "layer_25"
]
},
{
@@ -360,11 +423,12 @@
axis: 0
},
inputs: [
- "layer_17",
- "layer_18",
- "layer_19",
"layer_20",
- "layer_21"
+ "layer_21",
+ "layer_22",
+ "layer_23",
+ "layer_24",
+ "layer_25"
],
outputs: [
"TosaOutput_0"
@@ -387,7 +451,7 @@
{
name: "TosaOutput_0",
shape: [
- 5
+ 6
],
type: "INT32",
data: [
@@ -397,7 +461,7 @@
{
name: "layer_0",
shape: [
- 3,
+ 6,
21,
3
],
@@ -409,7 +473,7 @@
{
name: "layer_1",
shape: [
- 7,
+ 1,
21,
3
],
@@ -458,7 +522,7 @@
name: "layer_13",
shape: [
1,
- 1,
+ 21,
3
],
type: "INT32",
@@ -471,7 +535,7 @@
shape: [
1,
1,
- 1
+ 3
],
type: "INT32",
data: [
@@ -483,7 +547,7 @@
shape: [
1,
1,
- 3
+ 1
],
type: "INT32",
data: [
@@ -495,7 +559,7 @@
shape: [
1,
1,
- 1
+ 3
],
type: "INT32",
data: [
@@ -505,6 +569,8 @@
{
name: "layer_17",
shape: [
+ 1,
+ 1,
1
],
type: "INT32",
@@ -515,7 +581,9 @@
{
name: "layer_18",
shape: [
- 1
+ 1,
+ 1,
+ 3
],
type: "INT32",
data: [
@@ -525,6 +593,8 @@
{
name: "layer_19",
shape: [
+ 1,
+ 1,
1
],
type: "INT32",
@@ -565,9 +635,49 @@
]
},
{
+ name: "layer_22",
+ shape: [
+ 1
+ ],
+ type: "INT32",
+ data: [
+
+ ]
+ },
+ {
+ name: "layer_23",
+ shape: [
+ 1
+ ],
+ type: "INT32",
+ data: [
+
+ ]
+ },
+ {
+ name: "layer_24",
+ shape: [
+ 1
+ ],
+ type: "INT32",
+ data: [
+
+ ]
+ },
+ {
+ name: "layer_25",
+ shape: [
+ 1
+ ],
+ type: "INT32",
+ data: [
+
+ ]
+ },
+ {
name: "layer_3",
shape: [
- 1,
+ 3,
21,
3
],
@@ -604,7 +714,7 @@
name: "layer_6",
shape: [
1,
- 1,
+ 21,
3
],
type: "INT32",
@@ -617,7 +727,7 @@
shape: [
1,
1,
- 1
+ 3
],
type: "INT32",
data: [
@@ -628,8 +738,8 @@
name: "layer_8",
shape: [
1,
- 21,
- 3
+ 1,
+ 1
],
type: "INT32",
data: [