diff --git a/onnxruntime/python/tools/quantization/operators/embed_layernorm.py b/onnxruntime/python/tools/quantization/operators/embed_layernorm.py index b110e671157bd..6723b3baff204 100644 --- a/onnxruntime/python/tools/quantization/operators/embed_layernorm.py +++ b/onnxruntime/python/tools/quantization/operators/embed_layernorm.py @@ -17,6 +17,5 @@ def quantize(self): (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 \ No newline at end of file