taichi.types.quant
#
This module defines generators of quantized types. For more details, read https://yuanming.taichi.graphics/publication/2021-quantaichi/quantaichi.pdf.
- taichi.types.quant.fixed(bits, signed=True, max_value=1.0, compute=None, scale=None)#
Generates a quantized type for fixed-point real numbers.
- taichi.types.quant.float(exp, frac, signed=True, compute=None)#
Generates a quantized type for floating-point real numbers.