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

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
```