Fix after quantization of the network.
Change-Id: I109ab0e87e8c4b9c16be55e902142469545ea815
This commit is contained in:
parent
4b6a394e95
commit
de482ff703
@ -190,6 +190,7 @@ OperatorProperty GetOperatorProperty(const ModelT* model, int subgraph_index,
|
|||||||
property.inputs = {{0, {}}};
|
property.inputs = {{0, {}}};
|
||||||
property.outputs = {{0, {}}};
|
property.outputs = {{0, {}}};
|
||||||
property.restrict_same_input_output_scale = true;
|
property.restrict_same_input_output_scale = true;
|
||||||
|
property.quantize_input_as_activations = true;
|
||||||
property.version = 2;
|
property.version = 2;
|
||||||
break;
|
break;
|
||||||
case BuiltinOperator_HARD_SWISH: {
|
case BuiltinOperator_HARD_SWISH: {
|
||||||
|
Loading…
Reference in New Issue
Block a user