```{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}
.. autoclass:: AuxRequest
```
