sglang_v0.5.2/pytorch_2.8.0/docs/source/nn.attention.bias.md

479 B

.. role:: hidden
    :class: hidden-section

torch.nn.attention.bias

.. automodule:: torch.nn.attention.bias
.. currentmodule:: torch.nn.attention.bias

CausalBias

.. autosummary::
    :toctree: generated
    :nosignatures:
    :template: classnoinheritance.rst

    CausalBias
.. autosummary::
    :toctree: generated
    :nosignatures:

    causal_lower_right
    causal_upper_left
    CausalVariant