pytorch/docs/source/nn.attention.rst
drisspg 2b43d339fe Make FlexAttention API public (#130755)
# Summary

Makes the prototype API flex_attention public

Pull Request resolved: https://github.com/pytorch/pytorch/pull/130755
Approved by: https://github.com/Chillee
2024-07-16 16:21:25 +00:00

30 lines
No EOL
407 B
ReStructuredText

.. role:: hidden
:class: hidden-section
torch.nn.attention
==================
.. automodule:: torch.nn.attention
Utils
-------------------
.. autosummary::
:toctree: generated
:nosignatures:
sdpa_kernel
SDPBackend
Submodules
----------
.. autosummary::
:nosignatures:
flex_attention
bias
.. toctree::
:hidden:
nn.attention.flex_attention
nn.attention.bias