# Pooling

Functions for aggregating token-level activations into a single representation.

---

::: lmprobe.pooling.get_pooling_fn
    options:
      show_root_heading: true
      show_source: false

::: lmprobe.pooling.resolve_pooling
    options:
      show_root_heading: true
      show_source: false

::: lmprobe.pooling.pool_last_token
    options:
      show_root_heading: true
      show_source: false

::: lmprobe.pooling.pool_mean
    options:
      show_root_heading: true
      show_source: false

::: lmprobe.pooling.pool_first_token
    options:
      show_root_heading: true
      show_source: false

::: lmprobe.pooling.pool_all
    options:
      show_root_heading: true
      show_source: false

::: lmprobe.pooling.reduce_scores
    options:
      show_root_heading: true
      show_source: false
