QuantizationParams
Models & Types · AiDotNet.Tensors.Helpers
No summary documentation available yet.
Constructors
| Constructor | Summary |
|---|---|
QuantizationParams(float scale, int zeroPoint, QuantizationMode mode, int bits) |
Properties
| Property | Summary |
|---|---|
QuantizationMode Mode { get; } |
|
float Scale { get; } |
|
int Bits { get; } |
|
int ZeroPoint { get; } |
Methods
| Method | Summary |
|---|---|
QuantizationParams FromTensor(Tensor<float> tensor, QuantizationMode mode, int bits) |