blob: aea7f45a4479a880d6a5da5f97581fe8f35acc0a [file] [log] [blame]
{
version: {
_major: 0,
_minor: 60,
_patch: 0,
_draft: false
},
regions: [
{
name: "main",
blocks: [
{
name: "main",
operators: [
{
op: "CONST",
attribute_type: "NONE",
inputs: [
],
outputs: [
"layer_0"
]
},
{
op: "CONST",
attribute_type: "NONE",
inputs: [
],
outputs: [
"layer_1"
]
},
{
op: "TRANSPOSE",
attribute_type: "TransposeAttribute",
attribute: {
perms: [
1,
0
]
},
inputs: [
"TosaInput_1"
],
outputs: [
"layer_2"
]
},
{
op: "FULLY_CONNECTED",
attribute_type: "FullyConnectedAttribute",
attribute: {
input_zp: -1,
weight_zp: -1
},
inputs: [
"TosaInput_0",
"layer_2",
"layer_0"
],
outputs: [
"layer_3"
]
},
{
op: "RESCALE",
attribute_type: "RescaleAttribute",
attribute: {
input_zp: 0,
output_zp: 3,
multiplier: [
1353377973
],
shift: [
40
],
scale32: true,
double_round: true,
per_channel: false
},
inputs: [
"layer_3"
],
outputs: [
"TosaOutput_0"
]
}
],
tensors: [
{
name: "TosaInput_0",
shape: [
14,
19
],
type: "INT8",
data: [
]
},
{
name: "TosaInput_1",
shape: [
19,
28
],
type: "INT8",
data: [
]
},
{
name: "TosaOutput_0",
shape: [
14,
28
],
type: "INT8",
data: [
]
},
{
name: "layer_0",
shape: [
28
],
type: "INT32",
data: [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
},
{
name: "layer_1",
shape: [
2
],
type: "INT32",
data: [
1,
0,
0,
0,
0,
0,
0,
0
]
},
{
name: "layer_2",
shape: [
28,
19
],
type: "INT8",
data: [
]
},
{
name: "layer_3",
shape: [
14,
28
],
type: "INT32",
data: [
]
}
],
inputs: [
"TosaInput_0",
"TosaInput_1"
],
outputs: [
"TosaOutput_0"
]
}
]
}
]
}