Both inputs should be in int16 for MUL operator.
Some networks have one of inputs as a constant.
This commit is contained in:
parent
e7b615dc2e
commit
e5d5522d82
@ -807,6 +807,7 @@ OperatorProperty GetOperatorProperty(const ModelT* model, int subgraph_index,
|
|||||||
case BuiltinOperator_MUL:
|
case BuiltinOperator_MUL:
|
||||||
property.inputs = {{0, {}}, {1, {}}};
|
property.inputs = {{0, {}}, {1, {}}};
|
||||||
property.outputs = {{0, {}}};
|
property.outputs = {{0, {}}};
|
||||||
|
property.quantize_input_as_activations = true;
|
||||||
property.version = 2;
|
property.version = 2;
|
||||||
break;
|
break;
|
||||||
case BuiltinOperator_PACK:
|
case BuiltinOperator_PACK:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user