Fix after quantization of the network.

Change-Id: I109ab0e87e8c4b9c16be55e902142469545ea815
This commit is contained in:
Elena Zhelezina 2020-07-24 11:03:21 +01:00
parent 4b6a394e95
commit de482ff703

View File

@ -190,6 +190,7 @@ OperatorProperty GetOperatorProperty(const ModelT* model, int subgraph_index,
property.inputs = {{0, {}}};
property.outputs = {{0, {}}};
property.restrict_same_input_output_scale = true;
property.quantize_input_as_activations = true;
property.version = 2;
break;
case BuiltinOperator_HARD_SWISH: {