latest (dev)
Copy
Latest development documentation · Updated 2026-10-08
QConfig
- class tensorplay.ao.quantization.QConfig(activation, weight)[source]
Describes how to quantize a layer: observer factories for activations and weights.
Both fields must be observer classes or callables returning observer instances. Use
MyObserver.with_args(x=1)to override constructor arguments.- activation
Alias for field number 0
- count(value, /)
Return number of occurrences of value.
- index(value, start=0, stop=9223372036854775807, /)
Return first index of value.
Raises ValueError if the value is not present.
- weight
Alias for field number 1
Help improve this page
Found an error, an unclear step, or a missing example?
Was this page helpful?

