class_docstr: One-dimensional downsample using an average over a sliding window.
class_docstr_tok: ["One-dimensional","downsample","using","an","average","over","a","sliding","window","."]
docstr: **Arguments:**
  
  - `x`: The input. Should be a JAX array of shape `(channels, dim)`.
  - `key`: Ignored; provided for compatibility with the rest of the Equinox API.
      (Keyword only argument.)
  
  **Returns:**
  
  A JAX array of shape `(channels, new_dim)`.
code: def __call__(
      self, x: Array, *, key: Optional[PRNGKeyArray] = None
  ) -> Array:
      """**Arguments:**
  
      - `x`: The input. Should be a JAX array of shape `(channels, dim)`.
      - `key`: Ignored; provided for compatibility with the rest of the Equinox API.
          (Keyword only argument.)
  
      **Returns:**
  
      A JAX array of shape `(channels, new_dim)`.
      """
  
      return super().__call__(x) / math.prod(self.kernel_size)
  
imports: import math
  from collections.abc import Callable, Sequence
  from typing import Optional, Union
  import jax
  import jax.lax
  import jax.numpy
  import jax.random
  from jaxtyping import Array, PRNGKeyArray
  from .._module import field, Module
  from ._misc import all_sequences
label_desc: Use image node_id 2 for calling the AvgPool1d obj's underlying member method code with example usage: obj.__call__(x) and returns: unknown