mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-11 17:48:34 +00:00
fix quantization of EmbeddingLayerNorm (#5321)
This commit is contained in:
parent
c00e13a291
commit
5de47affb1
1 changed files with 2 additions and 3 deletions
|
|
@ -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
|
||||
Loading…
Reference in a new issue