fix quantization of EmbeddingLayerNorm (#5321)

This commit is contained in:
Yufeng Li 2020-09-29 01:00:47 -07:00 committed by Tianlei Wu
parent 7495dc167a
commit e8b9aa1f29

View file

@ -17,6 +17,5 @@ class EmbedLayerNormalizationQuant(QuantOperatorBase):
(quantized_input_names, zero_point_names, scale_names, nodes) = \
self.quantizer.quantize_inputs(node, [2, 3, 4])
nodes.append(node)
self.quantizer.new_nodes += nodes
super().quantize()
self.quantizer.new_nodes += nodes