Shortcuts

to_affine_quantized_fpx

torchao.dtypes.to_affine_quantized_fpx(input_float: Tensor, _layout: Layout)

Create a floatx AffineQuantizedTensor from a high precision tensor. Floatx is represented as ebits and mbits, and supports the representation of float1-float7.

Docs

Access comprehensive developer documentation for PyTorch

View Docs

Tutorials

Get in-depth tutorials for beginners and advanced developers

View Tutorials

Resources

Find development resources and get your questions answered

View Resources