mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-24 19:43:35 +00:00
parent
f480a3618a
commit
c3fd281620
1 changed files with 2 additions and 2 deletions
|
|
@ -112,8 +112,8 @@ class ONNXQuantizer:
|
|||
False if "ActivationSymmetric" not in self.extra_options else self.extra_options["ActivationSymmetric"]
|
||||
)
|
||||
|
||||
self.activation_qType = activation_qType.tensor_type
|
||||
self.weight_qType = weight_qType.tensor_type
|
||||
self.activation_qType = getattr(activation_qType, "tensor_type", activation_qType)
|
||||
self.weight_qType = getattr(weight_qType, "tensor_type", weight_qType)
|
||||
"""
|
||||
Dictionary specifying the min and max values for tensors. It has following format:
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue