```{eval-rst}
.. role:: hidden
    :class: hidden-section
```
# torch.nn.attention.bias

```{eval-rst}
.. automodule:: torch.nn.attention.bias
.. currentmodule:: torch.nn.attention.bias
```

## CausalBias

```{eval-rst}
.. autosummary::
    :toctree: generated
    :nosignatures:
    :template: classnoinheritance.rst

    CausalBias
```
```{eval-rst}
.. autosummary::
    :toctree: generated
    :nosignatures:

    causal_lower_right
    causal_upper_left
    CausalVariant
```