```{eval-rst}
.. role:: hidden
    :class: hidden-section
```

# torch.nn.attention.varlen

```{eval-rst}
.. automodule:: torch.nn.attention.varlen
.. currentmodule:: torch.nn.attention.varlen
```
```{eval-rst}
.. autofunction:: varlen_attn
```
```{eval-rst}
.. autofunction:: varlen_attn_out
```
```{eval-rst}
.. autoclass:: AuxRequest
```
