[POT] Propagate FQ through Gather (#13583)
* Add Gather to QUANTIZE_AGNOSTIC_OPERATIONS * Add test * Update HW configs path in tests * Fix tests * Update CI references
This commit is contained in:
parent
f34f35bfc7
commit
8789fcda04
@ -241,7 +241,8 @@
|
|||||||
{"type": "ShuffleChannels"},
|
{"type": "ShuffleChannels"},
|
||||||
{"type": "Broadcast"},
|
{"type": "Broadcast"},
|
||||||
{"type": "Pad"},
|
{"type": "Pad"},
|
||||||
{"type": "ConvertLike"},
|
{"type": "ConvertLike"},
|
||||||
|
{"type": "Gather"},
|
||||||
{"type": "DepthToSpace"}
|
{"type": "DepthToSpace"}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -1,235 +0,0 @@
|
|||||||
{
|
|
||||||
"target_device": "GPU",
|
|
||||||
"config": {
|
|
||||||
"quantization": {
|
|
||||||
"q8_a": {
|
|
||||||
"bits": 8,
|
|
||||||
"mode": [
|
|
||||||
"symmetric",
|
|
||||||
"asymmetric"
|
|
||||||
],
|
|
||||||
"granularity": "pertensor"
|
|
||||||
},
|
|
||||||
"q8_a_ch": {
|
|
||||||
"bits": 8,
|
|
||||||
"mode": [
|
|
||||||
"symmetric",
|
|
||||||
"asymmetric"
|
|
||||||
],
|
|
||||||
"granularity": "perchannel"
|
|
||||||
},
|
|
||||||
"q8_w_sym": {
|
|
||||||
"bits": 8,
|
|
||||||
"mode": "symmetric",
|
|
||||||
"level_low": -127,
|
|
||||||
"level_high": 127,
|
|
||||||
"granularity": "perchannel"
|
|
||||||
},
|
|
||||||
"q8_w_asym": {
|
|
||||||
"bits": 8,
|
|
||||||
"mode": "asymmetric",
|
|
||||||
"granularity": "perchannel"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"operations": [
|
|
||||||
{
|
|
||||||
"type": "Convolution",
|
|
||||||
"quantization": {
|
|
||||||
"activations": "q8_a",
|
|
||||||
"weights": ["q8_w_sym", "q8_w_asym"]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "DepthWiseConvolution",
|
|
||||||
"quantization": {
|
|
||||||
"activations": "q8_a_ch",
|
|
||||||
"weights": ["q8_w_sym", "q8_w_asym"]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "MatMul",
|
|
||||||
"quantization": {
|
|
||||||
"activations": "q8_a",
|
|
||||||
"weights": ["q8_w_sym", "q8_w_asym"]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "Add",
|
|
||||||
"quantization": {
|
|
||||||
"activations": "q8_a",
|
|
||||||
"weights": ["q8_w_sym", "q8_w_asym"]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "Multiply",
|
|
||||||
"quantization": {
|
|
||||||
"activations": "q8_a",
|
|
||||||
"weights": ["q8_w_sym", "q8_w_asym"]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "Maximum",
|
|
||||||
"quantization": {
|
|
||||||
"activations": "q8_a",
|
|
||||||
"weights": ["q8_w_sym", "q8_w_asym"]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "Less",
|
|
||||||
"quantization": {
|
|
||||||
"activations": "q8_a",
|
|
||||||
"weights": ["q8_w_sym", "q8_w_asym"]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "LessEqual",
|
|
||||||
"quantization": {
|
|
||||||
"activations": "q8_a",
|
|
||||||
"weights": ["q8_w_sym", "q8_w_asym"]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "Greater",
|
|
||||||
"quantization": {
|
|
||||||
"activations": "q8_a",
|
|
||||||
"weights": ["q8_w_sym", "q8_w_asym"]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "GreaterEqual",
|
|
||||||
"quantization": {
|
|
||||||
"activations": "q8_a",
|
|
||||||
"weights": ["q8_w_sym", "q8_w_asym"]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "Divide",
|
|
||||||
"quantization": {
|
|
||||||
"activations": "q8_a",
|
|
||||||
"weights": ["q8_w_sym", "q8_w_asym"]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "Minimum",
|
|
||||||
"quantization": {
|
|
||||||
"activations": "q8_a",
|
|
||||||
"weights": ["q8_w_sym", "q8_w_asym"]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "Equal",
|
|
||||||
"quantization": {
|
|
||||||
"activations": "q8_a",
|
|
||||||
"weights": ["q8_w_sym", "q8_w_asym"]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "Subtract",
|
|
||||||
"quantization": {
|
|
||||||
"activations": "q8_a",
|
|
||||||
"weights": ["q8_w_sym", "q8_w_asym"]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "NotEqual",
|
|
||||||
"quantization": {
|
|
||||||
"activations": "q8_a",
|
|
||||||
"weights": ["q8_w_sym", "q8_w_asym"]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "FloorMod",
|
|
||||||
"quantization": {
|
|
||||||
"activations": "q8_a",
|
|
||||||
"weights": ["q8_w_sym", "q8_w_asym"]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "LogicalOr",
|
|
||||||
"quantization": {
|
|
||||||
"activations": "q8_a",
|
|
||||||
"weights": ["q8_w_sym", "q8_w_asym"]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "LogicalXor",
|
|
||||||
"quantization": {
|
|
||||||
"activations": "q8_a",
|
|
||||||
"weights": ["q8_w_sym", "q8_w_asym"]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "LogicalAnd",
|
|
||||||
"quantization": {
|
|
||||||
"activations": "q8_a",
|
|
||||||
"weights": ["q8_w_sym", "q8_w_asym"]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "LogicalNot",
|
|
||||||
"quantization": {
|
|
||||||
"activations": "q8_a",
|
|
||||||
"weights": ["q8_w_sym", "q8_w_asym"]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "Power",
|
|
||||||
"quantization": {
|
|
||||||
"activations": "q8_a"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "AvgPool",
|
|
||||||
"quantization": {
|
|
||||||
"activations": "q8_a"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "NormalizeL2",
|
|
||||||
"quantization": {
|
|
||||||
"activations": "q8_a"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "ReduceMean",
|
|
||||||
"quantization": {
|
|
||||||
"activations": "q8_a"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "MaxPool"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "ReduceMax"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "Interpolate",
|
|
||||||
"quantization": {
|
|
||||||
"activations": "q8_a"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "MVN",
|
|
||||||
"quantization": {
|
|
||||||
"activations": "q8_a"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{"type": "Reshape"},
|
|
||||||
{"type": "Concat"},
|
|
||||||
{"type": "Flatten"},
|
|
||||||
{"type": "Squeeze"},
|
|
||||||
{"type": "Unsqueeze"},
|
|
||||||
{"type": "Split"},
|
|
||||||
{"type": "VariadicSplit"},
|
|
||||||
{"type": "Crop"},
|
|
||||||
{"type": "Transpose"},
|
|
||||||
{"type": "Tile"},
|
|
||||||
{"type": "StridedSlice"},
|
|
||||||
{"type": "ShuffleChannels"},
|
|
||||||
{"type": "Broadcast"},
|
|
||||||
{"type": "Pad"},
|
|
||||||
{"type": "ConvertLike"},
|
|
||||||
{"type": "DepthToSpace"}
|
|
||||||
]
|
|
||||||
}
|
|
@ -240,7 +240,8 @@ class FakeQuantizePropagation(BackReplacementPattern):
|
|||||||
|
|
||||||
jump_single_branch_ops = ['ReduceMax', 'MaxPool', 'Reshape', 'Flatten', 'Squeeze', 'Unsqueeze', 'Interpolate',
|
jump_single_branch_ops = ['ReduceMax', 'MaxPool', 'Reshape', 'Flatten', 'Squeeze', 'Unsqueeze', 'Interpolate',
|
||||||
'Split', 'Crop', 'ReduceMean', 'AvgPool', 'Result', 'Tile', 'Transpose', 'StridedSlice',
|
'Split', 'Crop', 'ReduceMean', 'AvgPool', 'Result', 'Tile', 'Transpose', 'StridedSlice',
|
||||||
'VariadicSplit', 'ShuffleChannels', 'Broadcast', 'Minimum', 'Maximum', 'DepthToSpace']
|
'VariadicSplit', 'ShuffleChannels', 'Broadcast', 'Minimum', 'Maximum', 'DepthToSpace',
|
||||||
|
'Gather']
|
||||||
remove_duplication_ops = ['FakeQuantize', 'Parameter']
|
remove_duplication_ops = ['FakeQuantize', 'Parameter']
|
||||||
jump_multi_branch_ops = 'Concat'
|
jump_multi_branch_ops = 'Concat'
|
||||||
jump_multi_branch_ops_except_const = ['Pad', 'ConvertLike']
|
jump_multi_branch_ops_except_const = ['Pad', 'ConvertLike']
|
||||||
|
@ -21,6 +21,7 @@ QUANTIZE_AGNOSTIC_OPERATIONS = [
|
|||||||
{'type': 'Minimum'},
|
{'type': 'Minimum'},
|
||||||
{'type': 'Maximum'},
|
{'type': 'Maximum'},
|
||||||
{'type': 'ConvertLike'},
|
{'type': 'ConvertLike'},
|
||||||
|
{'type': 'Gather'},
|
||||||
{'type': 'DepthToSpace'}
|
{'type': 'DepthToSpace'}
|
||||||
]
|
]
|
||||||
|
|
||||||
|
@ -1,246 +0,0 @@
|
|||||||
{
|
|
||||||
"target_device": "CPU",
|
|
||||||
"config": {
|
|
||||||
"quantization": {
|
|
||||||
"q8_a": {
|
|
||||||
"bits": 8,
|
|
||||||
"mode": [
|
|
||||||
"symmetric",
|
|
||||||
"asymmetric"
|
|
||||||
],
|
|
||||||
"granularity": "pertensor"
|
|
||||||
},
|
|
||||||
"q8_a_ch": {
|
|
||||||
"bits": 8,
|
|
||||||
"mode": [
|
|
||||||
"symmetric",
|
|
||||||
"asymmetric"
|
|
||||||
],
|
|
||||||
"granularity": "perchannel"
|
|
||||||
},
|
|
||||||
"q8_w_sym": {
|
|
||||||
"bits": 8,
|
|
||||||
"mode": "symmetric",
|
|
||||||
"level_low": -127,
|
|
||||||
"level_high": 127,
|
|
||||||
"granularity": "perchannel"
|
|
||||||
},
|
|
||||||
"q8_w_asym": {
|
|
||||||
"bits": 8,
|
|
||||||
"mode": "asymmetric",
|
|
||||||
"granularity": "perchannel"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"operations": [
|
|
||||||
{
|
|
||||||
"type": "Convolution",
|
|
||||||
"quantization": {
|
|
||||||
"activations": "q8_a",
|
|
||||||
"weights": ["q8_w_sym", "q8_w_asym"]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "DepthWiseConvolution",
|
|
||||||
"quantization": {
|
|
||||||
"activations": "q8_a_ch",
|
|
||||||
"weights": ["q8_w_sym", "q8_w_asym"]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "MatMul",
|
|
||||||
"quantization": {
|
|
||||||
"activations": "q8_a",
|
|
||||||
"weights": ["q8_w_sym", "q8_w_asym"]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "Add",
|
|
||||||
"quantization": {
|
|
||||||
"activations": "q8_a",
|
|
||||||
"weights": ["q8_w_sym", "q8_w_asym"]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "Multiply",
|
|
||||||
"quantization": {
|
|
||||||
"activations": "q8_a",
|
|
||||||
"weights": ["q8_w_sym", "q8_w_asym"]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "Maximum",
|
|
||||||
"quantization": {
|
|
||||||
"activations": "q8_a",
|
|
||||||
"weights": ["q8_w_sym", "q8_w_asym"]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "Less",
|
|
||||||
"quantization": {
|
|
||||||
"activations": "q8_a",
|
|
||||||
"weights": ["q8_w_sym", "q8_w_asym"]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "LessEqual",
|
|
||||||
"quantization": {
|
|
||||||
"activations": "q8_a",
|
|
||||||
"weights": ["q8_w_sym", "q8_w_asym"]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "Greater",
|
|
||||||
"quantization": {
|
|
||||||
"activations": "q8_a",
|
|
||||||
"weights": ["q8_w_sym", "q8_w_asym"]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "GreaterEqual",
|
|
||||||
"quantization": {
|
|
||||||
"activations": "q8_a",
|
|
||||||
"weights": ["q8_w_sym", "q8_w_asym"]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "Divide",
|
|
||||||
"quantization": {
|
|
||||||
"activations": "q8_a",
|
|
||||||
"weights": ["q8_w_sym", "q8_w_asym"]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "Minimum",
|
|
||||||
"quantization": {
|
|
||||||
"activations": "q8_a",
|
|
||||||
"weights": ["q8_w_sym", "q8_w_asym"]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "Equal",
|
|
||||||
"quantization": {
|
|
||||||
"activations": "q8_a",
|
|
||||||
"weights": ["q8_w_sym", "q8_w_asym"]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "Subtract",
|
|
||||||
"quantization": {
|
|
||||||
"activations": "q8_a",
|
|
||||||
"weights": ["q8_w_sym", "q8_w_asym"]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "NotEqual",
|
|
||||||
"quantization": {
|
|
||||||
"activations": "q8_a",
|
|
||||||
"weights": ["q8_w_sym", "q8_w_asym"]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "FloorMod",
|
|
||||||
"quantization": {
|
|
||||||
"activations": "q8_a",
|
|
||||||
"weights": ["q8_w_sym", "q8_w_asym"]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "LogicalOr",
|
|
||||||
"quantization": {
|
|
||||||
"activations": "q8_a",
|
|
||||||
"weights": ["q8_w_sym", "q8_w_asym"]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "LogicalXor",
|
|
||||||
"quantization": {
|
|
||||||
"activations": "q8_a",
|
|
||||||
"weights": ["q8_w_sym", "q8_w_asym"]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "LogicalAnd",
|
|
||||||
"quantization": {
|
|
||||||
"activations": "q8_a",
|
|
||||||
"weights": ["q8_w_sym", "q8_w_asym"]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "LogicalNot",
|
|
||||||
"quantization": {
|
|
||||||
"activations": "q8_a",
|
|
||||||
"weights": ["q8_w_sym", "q8_w_asym"]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "LSTMCell",
|
|
||||||
"quantization": {
|
|
||||||
"activations": "q8_a",
|
|
||||||
"weights": ["q8_w_sym", "q8_w_asym"]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "Power",
|
|
||||||
"quantization": {
|
|
||||||
"activations": "q8_a"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "AvgPool",
|
|
||||||
"quantization": {
|
|
||||||
"activations": "q8_a"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "NormalizeL2",
|
|
||||||
"quantization": {
|
|
||||||
"activations": "q8_a"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "ReduceMean",
|
|
||||||
"quantization": {
|
|
||||||
"activations": "q8_a"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "MaxPool"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "ReduceMax"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "Interpolate",
|
|
||||||
"quantization": {
|
|
||||||
"activations": "q8_a"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "MVN",
|
|
||||||
"quantization": {
|
|
||||||
"activations": "q8_a"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "Concat",
|
|
||||||
"attributes": {
|
|
||||||
"scales": "unified"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{"type": "Reshape"},
|
|
||||||
{"type": "Flatten"},
|
|
||||||
{"type": "Squeeze"},
|
|
||||||
{"type": "Unsqueeze"},
|
|
||||||
{"type": "Split"},
|
|
||||||
{"type": "VariadicSplit"},
|
|
||||||
{"type": "Crop"},
|
|
||||||
{"type": "Transpose"},
|
|
||||||
{"type": "Tile"},
|
|
||||||
{"type": "StridedSlice"},
|
|
||||||
{"type": "ShuffleChannels"},
|
|
||||||
{"type": "Broadcast"},
|
|
||||||
{"type": "Pad"},
|
|
||||||
{"type": "ConvertLike"}
|
|
||||||
]
|
|
||||||
}
|
|
@ -1,179 +0,0 @@
|
|||||||
{
|
|
||||||
"target_device": "GNA",
|
|
||||||
"config": {
|
|
||||||
"quantization": {
|
|
||||||
"q32_a": {
|
|
||||||
"bits": 32,
|
|
||||||
"mode": "symmetric",
|
|
||||||
"granularity": "pertensor",
|
|
||||||
"level_low": -2147483648,
|
|
||||||
"level_high": 2147483647
|
|
||||||
},
|
|
||||||
"q16_a": {
|
|
||||||
"bits": 16,
|
|
||||||
"mode": "symmetric",
|
|
||||||
"granularity": "pertensor",
|
|
||||||
"level_low": -32768,
|
|
||||||
"level_high": 32767
|
|
||||||
},
|
|
||||||
"q8_w": {
|
|
||||||
"bits": 8,
|
|
||||||
"mode": "symmetric",
|
|
||||||
"granularity": "perchannel",
|
|
||||||
"level_low": -127,
|
|
||||||
"level_high": 127
|
|
||||||
},
|
|
||||||
"q16_w": {
|
|
||||||
"bits": 16,
|
|
||||||
"mode": "symmetric",
|
|
||||||
"granularity": "pertensor",
|
|
||||||
"level_low": -32767,
|
|
||||||
"level_high": 32767
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"operations": [
|
|
||||||
{
|
|
||||||
"type": "Convolution",
|
|
||||||
"quantization": {
|
|
||||||
"activations": "q16_a",
|
|
||||||
"weights": ["q8_w", "q16_w"]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "MatMul",
|
|
||||||
"quantization": {
|
|
||||||
"activations": "q16_a",
|
|
||||||
"weights": ["q8_w", "q16_w"]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "Add",
|
|
||||||
"quantization": {
|
|
||||||
"activations": "q16_a",
|
|
||||||
"weights": "q16_w"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "Multiply",
|
|
||||||
"quantization": {
|
|
||||||
"activations": "q16_a",
|
|
||||||
"weights": ["q8_w", "q16_w"]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "Power",
|
|
||||||
"quantization": {
|
|
||||||
"activations": "q32_a"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "AvgPool",
|
|
||||||
"quantization": {
|
|
||||||
"activations": "q16_a"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "ReduceMean",
|
|
||||||
"quantization": {
|
|
||||||
"activations": "q16_a"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "Assign",
|
|
||||||
"quantization": {
|
|
||||||
"activations": "q16_a"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "Sigmoid",
|
|
||||||
"quantization": {
|
|
||||||
"activations": "q32_a"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "Tanh",
|
|
||||||
"quantization": {
|
|
||||||
"activations": "q32_a"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "ReLU",
|
|
||||||
"quantization": {
|
|
||||||
"activations": "q32_a"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "PReLU",
|
|
||||||
"quantization": {
|
|
||||||
"activations": "q32_a"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "Clamp",
|
|
||||||
"quantization": {
|
|
||||||
"activations": "q32_a"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "Log",
|
|
||||||
"quantization": {
|
|
||||||
"activations": "q32_a"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "Abs",
|
|
||||||
"quantization": {
|
|
||||||
"activations": "q32_a"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "Exp",
|
|
||||||
"quantization": {
|
|
||||||
"activations": "q32_a"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "Sign",
|
|
||||||
"quantization": {
|
|
||||||
"activations": "q32_a"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "SoftSign",
|
|
||||||
"quantization": {
|
|
||||||
"activations": "q32_a"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "Result",
|
|
||||||
"quantization": {
|
|
||||||
"activations": "q16_a"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "Subtract",
|
|
||||||
"quantization": {
|
|
||||||
"activations": "q16_a",
|
|
||||||
"weights": "q16_w"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{"type": "MaxPool"},
|
|
||||||
{"type": "ReduceMax"},
|
|
||||||
{"type": "Reshape"},
|
|
||||||
{"type": "Concat"},
|
|
||||||
{"type": "Flatten"},
|
|
||||||
{"type": "Squeeze"},
|
|
||||||
{"type": "Unsqueeze"},
|
|
||||||
{"type": "Split"},
|
|
||||||
{"type": "VariadicSplit"},
|
|
||||||
{"type": "Crop"},
|
|
||||||
{"type": "Transpose"},
|
|
||||||
{"type": "Tile"},
|
|
||||||
{"type": "StridedSlice"},
|
|
||||||
{"type": "ShuffleChannels"},
|
|
||||||
{"type": "Broadcast"},
|
|
||||||
{"type": "Pad"},
|
|
||||||
{"type": "ConvertLike"}
|
|
||||||
]
|
|
||||||
}
|
|
File diff suppressed because one or more lines are too long
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:301061099752020762a903220f7262889a02a2123acebcf08751f917758d6d0d
|
||||||
|
size 146
|
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:42d1da20c5544bf65291cf969df16ab299136db349ccce33bb633ae93675fcc7
|
||||||
|
size 3923
|
@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:f6b078dbe0cf4058bcb47d0c64bcaca8a0a13b851b69392b101f5cd054f81d61
|
oid sha256:719eeb9007fffc055395b3dfa52ba1e67eb2b1e1fd7420f469d84bc5ddead97e
|
||||||
size 157
|
size 171
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:c07592139cb52ec23e19962a3dc9842f898420954df450d3ee6e0f9e1364dadd
|
oid sha256:dc0bfddb84bef61d0458822f24a1c1b89368c7cbba10dc638d49f73eb18d0750
|
||||||
size 788943
|
size 788943
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:75c408ecb8f6210f006db3147fb6e0f5df4cb551300a58002bd70b8015d8e8bd
|
oid sha256:4fcce91fe711d750d331f989528cb8ef87013403fc1c181477a514e12a0a2eec
|
||||||
size 786003
|
size 786003
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:e8faf349f935e5afeb1e08f9bde77fb7a700e4494553c0ed534182d3d44dd06e
|
oid sha256:64c0ba0f93ea7cc453c8daa6a9532593e2c1a536692f76faf74ced5c96350820
|
||||||
size 786005
|
size 786005
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:dc30759d0b8ecdcb37c2d35f9684aa01e4b481aa26242b2f407d9b130f5fbc6b
|
oid sha256:a1dd12fb8a2404db7f8e505bf3b83a7bf44f2fa7fcef924bc5c484e0ceeb5163
|
||||||
size 900169
|
size 900169
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:f554f531613d7a1ec67dea42e96cfa593af36eeab5f0bb84e577c6bdb4587074
|
oid sha256:53434c8fbd3949a6ffb0fad3e43b0adc9c8494b42897d77507fe0ff9716c9731
|
||||||
size 947201
|
size 947201
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:9342b5fb4f1937028a61e687d2f50b5d5476c2bf656ef523c803f26a84e4810c
|
oid sha256:7f39770d4431348e68890b93d1744e2b194fae7df56f4e3424eda3a01cd256d2
|
||||||
size 943613
|
size 943613
|
||||||
|
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:4b30ee4b7aa426fcac74a62f12376b03c16fc5cd23628d575f8bba21dcc7ba49
|
||||||
|
size 13562
|
@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:59c379c8daf32812b6f9c87cf5882cad8e3ee389b08ef1bae3b4894226761de2
|
oid sha256:75dbf91a789ad20e045bd6e853a81c2af8aaef7caf6afc0a62c47f80e49f7aba
|
||||||
size 78870
|
size 81835
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:2dab908b355c8769bd27ebbc5f31219a628eb763e359b2978e7722ef544a5b59
|
oid sha256:40715bc6862c36af61230b8afc67cc30f70c3e2b9fa78c2c20d1f8afd095fb99
|
||||||
size 101944
|
size 103631
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:7e58c0f54fb7f68d7c4c3260571f5e36ad0aec543a7dce1deced9b36b0317540
|
oid sha256:2914651aa80c1247e29c3a975fb15bc889368244c24bff77842094778eb14874
|
||||||
size 22852
|
size 22787
|
||||||
|
@ -1 +1 @@
|
|||||||
{"Conv_148/WithoutBiases/fq_input_0": [-2.765769302470744e-08, 0.0025624153204262257], "Add_56/fq_input_0": [-0.03178860619664192, 0.03690711408853531], "Add_56/fq_input_1": [-0.01618143357336521, 0.01764041557908058], "Conv_125/WithoutBiases/fq_input_0": [-0.022879047319293022, 0.026985542848706245], "Conv_84/WithoutBiases/fq_input_0": [0.0, 0.011155051179230213], "Conv_162/WithoutBiases/fq_input_0": [0.0, 0.010443665087223053], "Conv_61/WithoutBiases/fq_input_0": [0.0, 0.006106846500188112], "Conv_119/WithoutBiases/fq_input_0": [-8.066827916763941e-08, 0.002679567551240325], "Conv_57/WithoutBiases/fq_input_0": [-0.03508269414305687, 0.04339175671339035], "Conv_154/WithoutBiases/fq_input_0": [-0.028473293408751488, 0.03521696850657463], "Conv_55/WithoutBiases/fq_input_0": [0.0, 0.014988746494054794], "Conv_0/WithoutBiases/fq_input_0": [-0.9615384936332703, 1.0], "Conv_163/WithoutBiases/fq_input_0": [-0.01230948232114315, 0.00979557354003191], "Conv_32/WithoutBiases/fq_input_0": [0.0, 0.009065578691661358], "Conv_45/WithoutBiases/fq_input_0": [0.0, 0.014912506565451622], "Add_114/fq_input_0": [-0.013670899905264378, 0.01587214693427086], "Add_114/fq_input_1": [-0.009457815438508987, 0.01246712077409029], "Conv_113/WithoutBiases/fq_input_0": [0.0, 0.020537080243229866], "Conv_90/WithoutBiases/fq_input_0": [-1.037163528394558e-07, 0.0025707946624606848], "Conv_8/WithoutBiases/fq_input_0": [0.0, 0.049394913017749786], "Conv_138/WithoutBiases/fq_input_0": [-1.382884651235372e-08, 0.0023272561375051737], "Conv_104/WithoutBiases/fq_input_0": [0.0, 0.018151046708226204], "Conv_36/WithoutBiases/fq_input_0": [0.0, 0.020471245050430298], "Conv_51/WithoutBiases/fq_input_0": [-3.457211406043825e-08, 0.004260015673935413], "Conv_28/WithoutBiases/fq_input_0": [-0.04988810047507286, 0.051883623003959656], "Add_153/fq_input_0": [-0.013903711922466755, 0.01747192069888115], "Add_153/fq_input_1": [-0.022818440571427345, 0.022287780418992043], "Conv_70/WithoutBiases/fq_input_0": [0.0, 0.002688088221475482], "Add_95/fq_input_0": [-0.025955934077501297, 0.020985649898648262], "Add_95/fq_input_1": [-0.02956792712211609, 0.01612795889377594], "Add_124/fq_input_0": [-0.015164051204919815, 0.017059559002518654], "Add_124/fq_input_1": [-0.01802794076502323, 0.014575780369341373], "Conv_26/WithoutBiases/fq_input_0": [0.0, 0.022948624566197395], "Conv_80/WithoutBiases/fq_input_0": [-5.18581764197279e-08, 0.002665039850398898], "Conv_109/WithoutBiases/fq_input_0": [-8.066827206221205e-08, 0.0027132511604577303], "Conv_17/WithoutBiases/fq_input_0": [0.0, 0.028543302789330482], "Conv_152/WithoutBiases/fq_input_0": [0.0, 0.015761131420731544], "GlobalAveragePool_167/fq_input_0": [0.0, 0.049394913017749786], "Conv_9/WithoutBiases/fq_input_0": [-0.0555744469165802, 0.04786704108119011], "Conv_65/WithoutBiases/fq_input_0": [0.0, 0.014108490198850632], "Conv_133/WithoutBiases/fq_input_0": [0.0, 0.02094263955950737], "Conv_13/WithoutBiases/fq_input_0": [0.0, 0.015301208011806011], "Conv_94/WithoutBiases/fq_input_0": [0.0, 0.027796650305390358], "Add_75/fq_input_0": [-0.024028511717915535, 0.018228525295853615], "Add_75/fq_input_1": [-0.014876028522849083, 0.018993500620126724], "Conv_74/WithoutBiases/fq_input_0": [0.0, 0.011041362769901752], "Conv_142/WithoutBiases/fq_input_0": [0.0, 0.02086900733411312], "Conv_22/WithoutBiases/fq_input_0": [0.0, 0.005861522629857063], "Conv_129/WithoutBiases/fq_input_0": [-2.304807722453006e-08, 0.004747480154037476], "Conv_123/WithoutBiases/fq_input_0": [0.0, 0.017005059868097305], "Add_85/fq_input_0": [-0.02210625633597374, 0.021256016567349434], "Add_85/fq_input_1": [-0.012997213751077652, 0.011372562497854233], "Add_143/fq_input_0": [-0.014566809870302677, 0.01514948159456253], "Add_143/fq_input_1": [-0.007149683777242899, 0.00830090418457985], "Add_46/fq_input_0": [-0.025736436247825623, 0.022876832634210587], "Add_46/fq_input_1": [-0.025809651240706444, 0.022941911593079567], "Conv_96/WithoutBiases/fq_input_0": [-0.030782364308834076, 0.024887869134545326], "Conv_41/WithoutBiases/fq_input_0": [0.0, 0.004058439284563065], "Conv_100/WithoutBiases/fq_input_0": [0.0, 0.00370213994756341], "Conv_158/WithoutBiases/fq_input_0": [-1.0507754950594972e-06, 0.0006702779210172594], "Add_27/fq_input_0": [-0.026998700574040413, 0.02678777277469635], "Add_27/fq_input_1": [-0.041718482971191406, 0.04204697161912918], "Conv_4/WithoutBiases/fq_input_0": [-8.297308227156464e-07, 0.007950618863105774], "Reshape_173/fq_input_0": [0.0, 0.033682722598314285]}
|
{"Conv_148/WithoutBiases/fq_input_0": [-2.765769302470744e-08, 0.0025624153204262257], "Add_56/fq_input_0": [-0.03178860619664192, 0.03690711408853531], "Add_56/fq_input_1": [-0.01618143357336521, 0.01764041557908058], "Conv_125/WithoutBiases/fq_input_0": [-0.022879047319293022, 0.026985542848706245], "Conv_84/WithoutBiases/fq_input_0": [0.0, 0.011155051179230213], "Conv_162/WithoutBiases/fq_input_0": [0.0, 0.010443665087223053], "Conv_61/WithoutBiases/fq_input_0": [0.0, 0.006106846500188112], "Conv_119/WithoutBiases/fq_input_0": [-8.066827916763941e-08, 0.002679567551240325], "Conv_57/WithoutBiases/fq_input_0": [-0.03508269414305687, 0.04339175671339035], "Conv_154/WithoutBiases/fq_input_0": [-0.028473293408751488, 0.03521696850657463], "Conv_55/WithoutBiases/fq_input_0": [0.0, 0.014988746494054794], "Conv_0/WithoutBiases/fq_input_0": [-0.9615384936332703, 1.0], "Conv_163/WithoutBiases/fq_input_0": [-0.01230948232114315, 0.00979557354003191], "Conv_32/WithoutBiases/fq_input_0": [0.0, 0.009065578691661358], "Conv_45/WithoutBiases/fq_input_0": [0.0, 0.014912506565451622], "Add_114/fq_input_0": [-0.013670899905264378, 0.01587214693427086], "Add_114/fq_input_1": [-0.009457815438508987, 0.01246712077409029], "Conv_113/WithoutBiases/fq_input_0": [0.0, 0.020537080243229866], "Conv_90/WithoutBiases/fq_input_0": [-1.037163528394558e-07, 0.0025707946624606848], "Conv_8/WithoutBiases/fq_input_0": [0.0, 0.049394913017749786], "Conv_138/WithoutBiases/fq_input_0": [-1.382884651235372e-08, 0.0023272561375051737], "Conv_104/WithoutBiases/fq_input_0": [0.0, 0.018151046708226204], "Conv_36/WithoutBiases/fq_input_0": [0.0, 0.020471245050430298], "Conv_51/WithoutBiases/fq_input_0": [-3.457211406043825e-08, 0.004260015673935413], "Conv_28/WithoutBiases/fq_input_0": [-0.04988810047507286, 0.051883623003959656], "Add_153/fq_input_0": [-0.013903711922466755, 0.01747192069888115], "Add_153/fq_input_1": [-0.022818440571427345, 0.022287780418992043], "Conv_70/WithoutBiases/fq_input_0": [0.0, 0.002688088221475482], "Add_95/fq_input_0": [-0.025955934077501297, 0.020985649898648262], "Add_95/fq_input_1": [-0.02956792712211609, 0.01612795889377594], "Add_124/fq_input_0": [-0.015164051204919815, 0.017059559002518654], "Add_124/fq_input_1": [-0.01802794076502323, 0.014575780369341373], "Conv_26/WithoutBiases/fq_input_0": [0.0, 0.022948624566197395], "Conv_80/WithoutBiases/fq_input_0": [-5.18581764197279e-08, 0.002665039850398898], "Conv_109/WithoutBiases/fq_input_0": [-8.066827206221205e-08, 0.0027132511604577303], "Conv_17/WithoutBiases/fq_input_0": [0.0, 0.028543302789330482], "Conv_152/WithoutBiases/fq_input_0": [0.0, 0.015761131420731544], "GlobalAveragePool_167/fq_input_0": [0.0, 0.049394913017749786], "Conv_9/WithoutBiases/fq_input_0": [-0.0555744469165802, 0.04786704108119011], "Conv_65/WithoutBiases/fq_input_0": [0.0, 0.014108490198850632], "Conv_133/WithoutBiases/fq_input_0": [0.0, 0.02094263955950737], "Conv_13/WithoutBiases/fq_input_0": [0.0, 0.015301208011806011], "Conv_94/WithoutBiases/fq_input_0": [0.0, 0.027796650305390358], "Add_75/fq_input_0": [-0.024028511717915535, 0.018228525295853615], "Add_75/fq_input_1": [-0.014876028522849083, 0.018993500620126724], "Conv_74/WithoutBiases/fq_input_0": [0.0, 0.011041362769901752], "Conv_142/WithoutBiases/fq_input_0": [0.0, 0.02086900733411312], "Conv_22/WithoutBiases/fq_input_0": [0.0, 0.005861522629857063], "Conv_129/WithoutBiases/fq_input_0": [-2.304807722453006e-08, 0.004747480154037476], "Conv_123/WithoutBiases/fq_input_0": [0.0, 0.017005059868097305], "Add_85/fq_input_0": [-0.02210625633597374, 0.021256016567349434], "Add_85/fq_input_1": [-0.012997213751077652, 0.011372562497854233], "Add_143/fq_input_0": [-0.014566809870302677, 0.01514948159456253], "Add_143/fq_input_1": [-0.007149683777242899, 0.00830090418457985], "Add_46/fq_input_0": [-0.025736436247825623, 0.022876832634210587], "Add_46/fq_input_1": [-0.025809651240706444, 0.022941911593079567], "Conv_96/WithoutBiases/fq_input_0": [-0.030782364308834076, 0.024887869134545326], "Conv_41/WithoutBiases/fq_input_0": [0.0, 0.004058439284563065], "Conv_100/WithoutBiases/fq_input_0": [0.0, 0.00370213994756341], "Conv_158/WithoutBiases/fq_input_0": [-1.0507754950594972e-06, 0.0006702779210172594], "Add_27/fq_input_0": [-0.026998700574040413, 0.02678777277469635], "Add_27/fq_input_1": [-0.041718482971191406, 0.04204697161912918], "Conv_4/WithoutBiases/fq_input_0": [-8.297308227156464e-07, 0.007950618863105774], "Flatten_168/fq_input_0": [0.0, 0.033682722598314285]}
|
@ -1 +1 @@
|
|||||||
{"Conv_148/WithoutBiases/fq_input_0": [0.0, 0.002542690373957157], "Add_56/fq_input_0": [-0.03690711408853531, 0.024504506960511208], "Add_56/fq_input_1": [-0.017548592761158943, 0.017411494627594948], "Conv_125/WithoutBiases/fq_input_0": [-0.026985540986061096, 0.024504506960511208], "Conv_84/WithoutBiases/fq_input_0": [0.0, 0.011067901737987995], "Conv_162/WithoutBiases/fq_input_0": [0.0, 0.01036207377910614], "Conv_61/WithoutBiases/fq_input_0": [0.0, 0.0060591367073357105], "Conv_119/WithoutBiases/fq_input_0": [0.0, 0.002659756224602461], "Conv_57/WithoutBiases/fq_input_0": [-0.04339175671339035, 0.024504506960511208], "Conv_154/WithoutBiases/fq_input_0": [-0.03502371534705162, 0.024504506960511208], "Conv_55/WithoutBiases/fq_input_0": [0.0, 0.014871646650135517], "Conv_0/WithoutBiases/fq_input_0": [-1.0, 0.024504506960511208], "Conv_163/WithoutBiases/fq_input_0": [-0.012309481389820576, 0.012213313952088356], "Conv_32/WithoutBiases/fq_input_0": [0.0, 0.008994753472507], "Conv_45/WithoutBiases/fq_input_0": [0.0, 0.014796002767980099], "Add_114/fq_input_0": [-0.015748165547847748, 0.015625134110450745], "Add_114/fq_input_1": [-0.01246712077409029, 0.012369721196591854], "Conv_113/WithoutBiases/fq_input_0": [0.0, 0.02037663385272026], "Conv_90/WithoutBiases/fq_input_0": [0.0, 0.002551520708948374], "Conv_8/WithoutBiases/fq_input_0": [0.0, 0.024504506960511208], "Conv_138/WithoutBiases/fq_input_0": [0.0, 0.002309234580025077], "Conv_104/WithoutBiases/fq_input_0": [0.0, 0.018009241670370102], "Conv_36/WithoutBiases/fq_input_0": [0.0, 0.02031131274998188], "Conv_51/WithoutBiases/fq_input_0": [0.0, 0.004227211698889732], "Conv_28/WithoutBiases/fq_input_0": [-0.05170397087931633, 0.024504506960511208], "Add_153/fq_input_0": [-0.01747192069888115, 0.017335420474410057], "Add_153/fq_input_1": [-0.02278638817369938, 0.022608371451497078], "Conv_70/WithoutBiases/fq_input_0": [0.0, 0.002667087595909834], "Add_95/fq_input_0": [-0.0258970744907856, 0.024504506960511208], "Add_95/fq_input_1": [-0.0293196439743042, 0.024504506960511208], "Add_124/fq_input_0": [-0.016956161707639694, 0.01682369038462639], "Add_124/fq_input_1": [-0.01789148710668087, 0.01775171048939228], "Conv_26/WithoutBiases/fq_input_0": [0.0, 0.022769339382648468], "Conv_80/WithoutBiases/fq_input_0": [0.0, 0.0026447095442563295], "Conv_109/WithoutBiases/fq_input_0": [0.0, 0.0026932351756840944], "Conv_17/WithoutBiases/fq_input_0": [0.0, 0.024504506960511208], "Conv_152/WithoutBiases/fq_input_0": [0.0, 0.015637997537851334], "GlobalAveragePool_167/fq_input_0": [0.0, 0.024504506960511208], "Conv_9/WithoutBiases/fq_input_0": [-0.0555744431912899, 0.024504506960511208], "Conv_65/WithoutBiases/fq_input_0": [0.0, 0.013998267240822315], "Conv_133/WithoutBiases/fq_input_0": [0.0, 0.020779024809598923], "Conv_13/WithoutBiases/fq_input_0": [0.0, 0.01409971434623003], "Conv_94/WithoutBiases/fq_input_0": [0.0, 0.024504506960511208], "Add_75/fq_input_0": [-0.024028509855270386, 0.02384078875184059], "Add_75/fq_input_1": [-0.01890212669968605, 0.01875445432960987], "Conv_74/WithoutBiases/fq_input_0": [0.0, 0.010955101810395718], "Conv_142/WithoutBiases/fq_input_0": [0.0, 0.020705968141555786], "Conv_22/WithoutBiases/fq_input_0": [0.0, 0.00581572949886322], "Conv_129/WithoutBiases/fq_input_0": [0.0, 0.004710772540420294], "Conv_123/WithoutBiases/fq_input_0": [0.0, 0.016872208565473557], "Add_85/fq_input_0": [-0.02208520844578743, 0.02191266603767872], "Add_85/fq_input_1": [-0.012997213751077652, 0.012895672582089901], "Add_143/fq_input_0": [-0.015055370517075062, 0.01493775099515915], "Add_143/fq_input_1": [-0.008267931640148163, 0.008203338831663132], "Add_46/fq_input_0": [-0.025736436247825623, 0.024504506960511208], "Add_46/fq_input_1": [-0.025809651240706444, 0.024504506960511208], "Conv_96/WithoutBiases/fq_input_0": [-0.030720945447683334, 0.024504506960511208], "Conv_41/WithoutBiases/fq_input_0": [0.0, 0.004026732407510281], "Conv_100/WithoutBiases/fq_input_0": [0.0, 0.003673217026516795], "Conv_158/WithoutBiases/fq_input_0": [0.0, 0.0006734441849403083], "Add_27/fq_input_0": [-0.026998046785593033, 0.024504506960511208], "Add_27/fq_input_1": [-0.04204697161912918, 0.024504506960511208], "Conv_4/WithoutBiases/fq_input_0": [0.0, 0.007917627692222595], "Reshape_173/fq_input_0": [0.0, 0.024504506960511208]}
|
{"Conv_148/WithoutBiases/fq_input_0": [0.0, 0.002542690373957157], "Add_56/fq_input_0": [-0.03690711408853531, 0.024504506960511208], "Add_56/fq_input_1": [-0.017548592761158943, 0.017411494627594948], "Conv_125/WithoutBiases/fq_input_0": [-0.026985540986061096, 0.024504506960511208], "Conv_84/WithoutBiases/fq_input_0": [0.0, 0.011067901737987995], "Conv_162/WithoutBiases/fq_input_0": [0.0, 0.01036207377910614], "Conv_61/WithoutBiases/fq_input_0": [0.0, 0.0060591367073357105], "Conv_119/WithoutBiases/fq_input_0": [0.0, 0.002659756224602461], "Conv_57/WithoutBiases/fq_input_0": [-0.04339175671339035, 0.024504506960511208], "Conv_154/WithoutBiases/fq_input_0": [-0.03502371534705162, 0.024504506960511208], "Conv_55/WithoutBiases/fq_input_0": [0.0, 0.014871646650135517], "Conv_0/WithoutBiases/fq_input_0": [-1.0, 0.024504506960511208], "Conv_163/WithoutBiases/fq_input_0": [-0.012309481389820576, 0.012213313952088356], "Conv_32/WithoutBiases/fq_input_0": [0.0, 0.008994753472507], "Conv_45/WithoutBiases/fq_input_0": [0.0, 0.014796002767980099], "Add_114/fq_input_0": [-0.015748165547847748, 0.015625134110450745], "Add_114/fq_input_1": [-0.01246712077409029, 0.012369721196591854], "Conv_113/WithoutBiases/fq_input_0": [0.0, 0.02037663385272026], "Conv_90/WithoutBiases/fq_input_0": [0.0, 0.002551520708948374], "Conv_8/WithoutBiases/fq_input_0": [0.0, 0.024504506960511208], "Conv_138/WithoutBiases/fq_input_0": [0.0, 0.002309234580025077], "Conv_104/WithoutBiases/fq_input_0": [0.0, 0.018009241670370102], "Conv_36/WithoutBiases/fq_input_0": [0.0, 0.02031131274998188], "Conv_51/WithoutBiases/fq_input_0": [0.0, 0.004227211698889732], "Conv_28/WithoutBiases/fq_input_0": [-0.05170397087931633, 0.024504506960511208], "Add_153/fq_input_0": [-0.01747192069888115, 0.017335420474410057], "Add_153/fq_input_1": [-0.02278638817369938, 0.022608371451497078], "Conv_70/WithoutBiases/fq_input_0": [0.0, 0.002667087595909834], "Add_95/fq_input_0": [-0.0258970744907856, 0.024504506960511208], "Add_95/fq_input_1": [-0.0293196439743042, 0.024504506960511208], "Add_124/fq_input_0": [-0.016956161707639694, 0.01682369038462639], "Add_124/fq_input_1": [-0.01789148710668087, 0.01775171048939228], "Conv_26/WithoutBiases/fq_input_0": [0.0, 0.022769339382648468], "Conv_80/WithoutBiases/fq_input_0": [0.0, 0.0026447095442563295], "Conv_109/WithoutBiases/fq_input_0": [0.0, 0.0026932351756840944], "Conv_17/WithoutBiases/fq_input_0": [0.0, 0.024504506960511208], "Conv_152/WithoutBiases/fq_input_0": [0.0, 0.015637997537851334], "GlobalAveragePool_167/fq_input_0": [0.0, 0.024504506960511208], "Conv_9/WithoutBiases/fq_input_0": [-0.0555744431912899, 0.024504506960511208], "Conv_65/WithoutBiases/fq_input_0": [0.0, 0.013998267240822315], "Conv_133/WithoutBiases/fq_input_0": [0.0, 0.020779024809598923], "Conv_13/WithoutBiases/fq_input_0": [0.0, 0.01409971434623003], "Conv_94/WithoutBiases/fq_input_0": [0.0, 0.024504506960511208], "Add_75/fq_input_0": [-0.024028509855270386, 0.02384078875184059], "Add_75/fq_input_1": [-0.01890212669968605, 0.01875445432960987], "Conv_74/WithoutBiases/fq_input_0": [0.0, 0.010955101810395718], "Conv_142/WithoutBiases/fq_input_0": [0.0, 0.020705968141555786], "Conv_22/WithoutBiases/fq_input_0": [0.0, 0.00581572949886322], "Conv_129/WithoutBiases/fq_input_0": [0.0, 0.004710772540420294], "Conv_123/WithoutBiases/fq_input_0": [0.0, 0.016872208565473557], "Add_85/fq_input_0": [-0.02208520844578743, 0.02191266603767872], "Add_85/fq_input_1": [-0.012997213751077652, 0.012895672582089901], "Add_143/fq_input_0": [-0.015055370517075062, 0.01493775099515915], "Add_143/fq_input_1": [-0.008267931640148163, 0.008203338831663132], "Add_46/fq_input_0": [-0.025736436247825623, 0.024504506960511208], "Add_46/fq_input_1": [-0.025809651240706444, 0.024504506960511208], "Conv_96/WithoutBiases/fq_input_0": [-0.030720945447683334, 0.024504506960511208], "Conv_41/WithoutBiases/fq_input_0": [0.0, 0.004026732407510281], "Conv_100/WithoutBiases/fq_input_0": [0.0, 0.003673217026516795], "Conv_158/WithoutBiases/fq_input_0": [0.0, 0.0006734441849403083], "Add_27/fq_input_0": [-0.026998046785593033, 0.024504506960511208], "Add_27/fq_input_1": [-0.04204697161912918, 0.024504506960511208], "Conv_4/WithoutBiases/fq_input_0": [0.0, 0.007917627692222595], "Flatten_168/fq_input_0": [0.0, 0.024504506960511208]}
|
@ -1 +1 @@
|
|||||||
{"Conv_148/WithoutBiases/fq_input_0": [0.0, 0.002542690373957157], "Add_56/fq_input_0": [-0.03690711408853531, 0.03661877661943436], "Add_56/fq_input_1": [-0.017548592761158943, 0.017411494627594948], "Conv_125/WithoutBiases/fq_input_0": [-0.026985540986061096, 0.02677471749484539], "Conv_84/WithoutBiases/fq_input_0": [0.0, 0.011067901737987995], "Conv_162/WithoutBiases/fq_input_0": [0.0, 0.01036207377910614], "Conv_61/WithoutBiases/fq_input_0": [0.0, 0.0060591367073357105], "Conv_119/WithoutBiases/fq_input_0": [0.0, 0.002659756224602461], "Conv_57/WithoutBiases/fq_input_0": [-0.04339175671339035, 0.043052759021520615], "Conv_154/WithoutBiases/fq_input_0": [-0.03502371534705162, 0.03475009277462959], "Conv_55/WithoutBiases/fq_input_0": [0.0, 0.014871646650135517], "Conv_0/WithoutBiases/fq_input_0": [-1.0, 0.9921875], "Conv_163/WithoutBiases/fq_input_0": [-0.012309481389820576, 0.012213313952088356], "Conv_32/WithoutBiases/fq_input_0": [0.0, 0.008994753472507], "Conv_45/WithoutBiases/fq_input_0": [0.0, 0.014796002767980099], "Add_114/fq_input_0": [-0.015748165547847748, 0.015625134110450745], "Add_114/fq_input_1": [-0.01246712077409029, 0.012369721196591854], "Conv_113/WithoutBiases/fq_input_0": [0.0, 0.02037663385272026], "Conv_90/WithoutBiases/fq_input_0": [0.0, 0.002551520708948374], "Conv_8/WithoutBiases/fq_input_0": [0.0, 0.049009013921022415], "Conv_138/WithoutBiases/fq_input_0": [0.0, 0.002309234580025077], "Conv_104/WithoutBiases/fq_input_0": [0.0, 0.018009241670370102], "Conv_36/WithoutBiases/fq_input_0": [0.0, 0.02031131274998188], "Conv_51/WithoutBiases/fq_input_0": [0.0, 0.004227211698889732], "Conv_28/WithoutBiases/fq_input_0": [-0.05170397087931633, 0.051300033926963806], "Add_153/fq_input_0": [-0.01747192069888115, 0.017335420474410057], "Add_153/fq_input_1": [-0.02278638817369938, 0.022608371451497078], "Conv_70/WithoutBiases/fq_input_0": [0.0, 0.002667087595909834], "Add_95/fq_input_0": [-0.0258970744907856, 0.025694752112030983], "Add_95/fq_input_1": [-0.0293196439743042, 0.029090583324432373], "Add_124/fq_input_0": [-0.016956161707639694, 0.01682369038462639], "Add_124/fq_input_1": [-0.01789148710668087, 0.01775171048939228], "Conv_26/WithoutBiases/fq_input_0": [0.0, 0.022769339382648468], "Conv_80/WithoutBiases/fq_input_0": [0.0, 0.0026447095442563295], "Conv_109/WithoutBiases/fq_input_0": [0.0, 0.0026932351756840944], "Conv_17/WithoutBiases/fq_input_0": [0.0, 0.028320306912064552], "Conv_152/WithoutBiases/fq_input_0": [0.0, 0.015637997537851334], "GlobalAveragePool_167/fq_input_0": [0.0, 0.049009013921022415], "Conv_9/WithoutBiases/fq_input_0": [-0.0555744431912899, 0.05514026805758476], "Conv_65/WithoutBiases/fq_input_0": [0.0, 0.013998267240822315], "Conv_133/WithoutBiases/fq_input_0": [0.0, 0.020779024809598923], "Conv_13/WithoutBiases/fq_input_0": [0.0, 0.015181667171418667], "Conv_94/WithoutBiases/fq_input_0": [0.0, 0.02757948823273182], "Add_75/fq_input_0": [-0.024028509855270386, 0.02384078875184059], "Add_75/fq_input_1": [-0.01890212669968605, 0.01875445432960987], "Conv_74/WithoutBiases/fq_input_0": [0.0, 0.010955101810395718], "Conv_142/WithoutBiases/fq_input_0": [0.0, 0.020705968141555786], "Conv_22/WithoutBiases/fq_input_0": [0.0, 0.00581572949886322], "Conv_129/WithoutBiases/fq_input_0": [0.0, 0.004710772540420294], "Conv_123/WithoutBiases/fq_input_0": [0.0, 0.016872208565473557], "Add_85/fq_input_0": [-0.02208520844578743, 0.02191266603767872], "Add_85/fq_input_1": [-0.012997213751077652, 0.012895672582089901], "Add_143/fq_input_0": [-0.015055370517075062, 0.01493775099515915], "Add_143/fq_input_1": [-0.008267931640148163, 0.008203338831663132], "Add_46/fq_input_0": [-0.025736436247825623, 0.02553536929190159], "Add_46/fq_input_1": [-0.025809651240706444, 0.025608014315366745], "Conv_96/WithoutBiases/fq_input_0": [-0.030720945447683334, 0.030480939894914627], "Conv_41/WithoutBiases/fq_input_0": [0.0, 0.004026732407510281], "Conv_100/WithoutBiases/fq_input_0": [0.0, 0.003673217026516795], "Conv_158/WithoutBiases/fq_input_0": [0.0, 0.0006734441849403083], "Add_27/fq_input_0": [-0.026998046785593033, 0.026787124574184418], "Add_27/fq_input_1": [-0.04204697161912918, 0.04171847924590111], "Conv_4/WithoutBiases/fq_input_0": [0.0, 0.007917627692222595], "Reshape_173/fq_input_0": [0.0, 0.03341957554221153]}
|
{"Conv_148/WithoutBiases/fq_input_0": [0.0, 0.002542690373957157], "Add_56/fq_input_0": [-0.03690711408853531, 0.03661877661943436], "Add_56/fq_input_1": [-0.017548592761158943, 0.017411494627594948], "Conv_125/WithoutBiases/fq_input_0": [-0.026985540986061096, 0.02677471749484539], "Conv_84/WithoutBiases/fq_input_0": [0.0, 0.011067901737987995], "Conv_162/WithoutBiases/fq_input_0": [0.0, 0.01036207377910614], "Conv_61/WithoutBiases/fq_input_0": [0.0, 0.0060591367073357105], "Conv_119/WithoutBiases/fq_input_0": [0.0, 0.002659756224602461], "Conv_57/WithoutBiases/fq_input_0": [-0.04339175671339035, 0.043052759021520615], "Conv_154/WithoutBiases/fq_input_0": [-0.03502371534705162, 0.03475009277462959], "Conv_55/WithoutBiases/fq_input_0": [0.0, 0.014871646650135517], "Conv_0/WithoutBiases/fq_input_0": [-1.0, 0.9921875], "Conv_163/WithoutBiases/fq_input_0": [-0.012309481389820576, 0.012213313952088356], "Conv_32/WithoutBiases/fq_input_0": [0.0, 0.008994753472507], "Conv_45/WithoutBiases/fq_input_0": [0.0, 0.014796002767980099], "Add_114/fq_input_0": [-0.015748165547847748, 0.015625134110450745], "Add_114/fq_input_1": [-0.01246712077409029, 0.012369721196591854], "Conv_113/WithoutBiases/fq_input_0": [0.0, 0.02037663385272026], "Conv_90/WithoutBiases/fq_input_0": [0.0, 0.002551520708948374], "Conv_8/WithoutBiases/fq_input_0": [0.0, 0.049009013921022415], "Conv_138/WithoutBiases/fq_input_0": [0.0, 0.002309234580025077], "Conv_104/WithoutBiases/fq_input_0": [0.0, 0.018009241670370102], "Conv_36/WithoutBiases/fq_input_0": [0.0, 0.02031131274998188], "Conv_51/WithoutBiases/fq_input_0": [0.0, 0.004227211698889732], "Conv_28/WithoutBiases/fq_input_0": [-0.05170397087931633, 0.051300033926963806], "Add_153/fq_input_0": [-0.01747192069888115, 0.017335420474410057], "Add_153/fq_input_1": [-0.02278638817369938, 0.022608371451497078], "Conv_70/WithoutBiases/fq_input_0": [0.0, 0.002667087595909834], "Add_95/fq_input_0": [-0.0258970744907856, 0.025694752112030983], "Add_95/fq_input_1": [-0.0293196439743042, 0.029090583324432373], "Add_124/fq_input_0": [-0.016956161707639694, 0.01682369038462639], "Add_124/fq_input_1": [-0.01789148710668087, 0.01775171048939228], "Conv_26/WithoutBiases/fq_input_0": [0.0, 0.022769339382648468], "Conv_80/WithoutBiases/fq_input_0": [0.0, 0.0026447095442563295], "Conv_109/WithoutBiases/fq_input_0": [0.0, 0.0026932351756840944], "Conv_17/WithoutBiases/fq_input_0": [0.0, 0.028320306912064552], "Conv_152/WithoutBiases/fq_input_0": [0.0, 0.015637997537851334], "GlobalAveragePool_167/fq_input_0": [0.0, 0.049009013921022415], "Conv_9/WithoutBiases/fq_input_0": [-0.0555744431912899, 0.05514026805758476], "Conv_65/WithoutBiases/fq_input_0": [0.0, 0.013998267240822315], "Conv_133/WithoutBiases/fq_input_0": [0.0, 0.020779024809598923], "Conv_13/WithoutBiases/fq_input_0": [0.0, 0.015181667171418667], "Conv_94/WithoutBiases/fq_input_0": [0.0, 0.02757948823273182], "Add_75/fq_input_0": [-0.024028509855270386, 0.02384078875184059], "Add_75/fq_input_1": [-0.01890212669968605, 0.01875445432960987], "Conv_74/WithoutBiases/fq_input_0": [0.0, 0.010955101810395718], "Conv_142/WithoutBiases/fq_input_0": [0.0, 0.020705968141555786], "Conv_22/WithoutBiases/fq_input_0": [0.0, 0.00581572949886322], "Conv_129/WithoutBiases/fq_input_0": [0.0, 0.004710772540420294], "Conv_123/WithoutBiases/fq_input_0": [0.0, 0.016872208565473557], "Add_85/fq_input_0": [-0.02208520844578743, 0.02191266603767872], "Add_85/fq_input_1": [-0.012997213751077652, 0.012895672582089901], "Add_143/fq_input_0": [-0.015055370517075062, 0.01493775099515915], "Add_143/fq_input_1": [-0.008267931640148163, 0.008203338831663132], "Add_46/fq_input_0": [-0.025736436247825623, 0.02553536929190159], "Add_46/fq_input_1": [-0.025809651240706444, 0.025608014315366745], "Conv_96/WithoutBiases/fq_input_0": [-0.030720945447683334, 0.030480939894914627], "Conv_41/WithoutBiases/fq_input_0": [0.0, 0.004026732407510281], "Conv_100/WithoutBiases/fq_input_0": [0.0, 0.003673217026516795], "Conv_158/WithoutBiases/fq_input_0": [0.0, 0.0006734441849403083], "Add_27/fq_input_0": [-0.026998046785593033, 0.026787124574184418], "Add_27/fq_input_1": [-0.04204697161912918, 0.04171847924590111], "Conv_4/WithoutBiases/fq_input_0": [0.0, 0.007917627692222595], "Flatten_168/fq_input_0": [0.0, 0.03341957554221153]}
|
File diff suppressed because one or more lines are too long
@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:b37100a357a594355b5dd7ecc0834e908f8eaaf01007734988182510cae953a6
|
oid sha256:fb2bdde4e5fbdf03be6b1b17f897c306f0ca60cbacdd37dbb631692d97ca8778
|
||||||
size 3425629
|
size 3425629
|
||||||
|
@ -30,6 +30,7 @@ TEST_MODELS = [
|
|||||||
('resnet_example', 'pytorch', 'CPU_SPR'),
|
('resnet_example', 'pytorch', 'CPU_SPR'),
|
||||||
#('tensor_iterator_example', 'tf', 'ANY'),
|
#('tensor_iterator_example', 'tf', 'ANY'),
|
||||||
('softsign_example', 'tf', 'GNA'),
|
('softsign_example', 'tf', 'GNA'),
|
||||||
|
('gather_example', 'tf', 'CPU'),
|
||||||
('split_concat_example', 'pytorch', 'ANY'),
|
('split_concat_example', 'pytorch', 'ANY'),
|
||||||
]
|
]
|
||||||
|
|
||||||
|
@ -171,9 +171,9 @@ def test_sample_compression(_sample_params, tmp_path, models):
|
|||||||
|
|
||||||
SIMPLIFIED_TEST_MODELS = [
|
SIMPLIFIED_TEST_MODELS = [
|
||||||
('mobilenet-v2-pytorch', 'pytorch', 'DefaultQuantization', 'performance',
|
('mobilenet-v2-pytorch', 'pytorch', 'DefaultQuantization', 'performance',
|
||||||
{'accuracy@top1': 0.707, 'accuracy@top5': 0.91}, []),
|
{'accuracy@top1': 0.708, 'accuracy@top5': 0.91}, []),
|
||||||
('mobilenet-v2-pytorch', 'pytorch', 'DefaultQuantization', 'performance',
|
('mobilenet-v2-pytorch', 'pytorch', 'DefaultQuantization', 'performance',
|
||||||
{'accuracy@top1': 0.707, 'accuracy@top5': 0.904}, ['--input_shape=[1,3,?,?]'])
|
{'accuracy@top1': 0.708, 'accuracy@top5': 0.904}, ['--input_shape=[1,3,?,?]'])
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
@ -227,7 +227,7 @@ def test_simplified_mode(_simplified_params, tmp_path, models):
|
|||||||
|
|
||||||
_, _, _, _, expected_accuracy, _ = _simplified_params
|
_, _, _, _, expected_accuracy, _ = _simplified_params
|
||||||
metrics = launch_simplified_mode(_simplified_params, tmp_path, models, engine_config)
|
metrics = launch_simplified_mode(_simplified_params, tmp_path, models, engine_config)
|
||||||
assert metrics == pytest.approx(expected_accuracy, abs=0.006)
|
assert metrics == pytest.approx(expected_accuracy, abs=0.007)
|
||||||
|
|
||||||
|
|
||||||
def test_frame_extractor_tool():
|
def test_frame_extractor_tool():
|
||||||
|
@ -9,11 +9,12 @@ from openvino.tools.mo import mo
|
|||||||
TEST_ROOT = Path(__file__).parent.parent.absolute()
|
TEST_ROOT = Path(__file__).parent.parent.absolute()
|
||||||
LIBS_ROOT = Path(__file__).resolve().parents[4] / 'thirdparty'
|
LIBS_ROOT = Path(__file__).resolve().parents[4] / 'thirdparty'
|
||||||
MO_PATH = Path(mo.__file__).parent
|
MO_PATH = Path(mo.__file__).parent
|
||||||
|
POT_PATH = Path(__file__).parents[2].absolute()
|
||||||
|
|
||||||
MODELS_PATH = TEST_ROOT / 'data' / 'models'
|
MODELS_PATH = TEST_ROOT / 'data' / 'models'
|
||||||
REFERENCE_MODELS_PATH = TEST_ROOT / 'data' / 'reference_models'
|
REFERENCE_MODELS_PATH = TEST_ROOT / 'data' / 'reference_models'
|
||||||
HARDWARE_CONFIG_PATH = TEST_ROOT / 'data' / 'hardware_configs'
|
HARDWARE_CONFIG_PATH = POT_PATH / 'openvino' / 'tools' / 'pot' / 'configs' / 'hardware'
|
||||||
HARDWARE_CONFIG_REFERENCE_PATH = HARDWARE_CONFIG_PATH / 'reference'
|
HARDWARE_CONFIG_REFERENCE_PATH = TEST_ROOT / 'data' / 'hardware_configs' / 'reference'
|
||||||
|
|
||||||
TOOL_CONFIG_PATH = TEST_ROOT / 'data' / 'tool_configs'
|
TOOL_CONFIG_PATH = TEST_ROOT / 'data' / 'tool_configs'
|
||||||
ENGINE_CONFIG_PATH = TEST_ROOT / 'data' / 'engine_configs'
|
ENGINE_CONFIG_PATH = TEST_ROOT / 'data' / 'engine_configs'
|
||||||
|
Loading…
Reference in New Issue
Block a user