Digit
- class trainsum.digit.Digit(idf, idx, base, factor)
A digit represents a single component of a quantized dimension.
- Parameters:
idf (int)
idx (int)
base (int)
factor (int)
- idf: int
The identifier of the dimension this digit belongs to.
- idx: int
The index of the digit within its dimension.
- base: int
The base of the digit, i.e., the number of possible values it can take.
- factor: int
The factor of the digit, i.e., the product of the bases of all subsequent digits.