W3cubDocs

/PyTorch 2.9

FXFloatFunctional

class torch.ao.nn.quantized.FXFloatFunctional(*args, **kwargs) [source]

module to replace FloatFunctional module before FX graph mode quantization, since activation_post_process will be inserted in top level module directly

Valid operation names:
  • add
  • cat
  • mul
  • add_relu
  • add_scalar
  • mul_scalar

© 2025, PyTorch Contributors
PyTorch has a BSD-style license, as found in the LICENSE file.
https://docs.pytorch.org/docs/2.9/generated/torch.ao.nn.quantized.FXFloatFunctional.html