You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
quant_format=QuantFormat.QOperator, # start from onnxruntime==1.11.0, quant_format is set to QuantFormat.QDQ by default, which performs fake quantization
81
82
per_channel=self.per_channel,
82
83
weight_type=self.type_dict[self.wt_type],
83
-
activation_type=self.type_dict[self.act_type])
84
+
activation_type=self.type_dict[self.act_type],
85
+
nodes_to_exclude=self.nodes_to_exclude)
84
86
ifnew_model_path!=self.model_path:
85
87
os.remove(new_model_path)
86
88
print('\tQuantized model saved to {}'.format(output_name))
0 commit comments