30 lines
479 B
Markdown
30 lines
479 B
Markdown
```{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
|
|
``` |