code: def test_avgpool1d():
      x = jnp.arange(14).reshape(1, 14)
      avg_pool = eqx.nn.AvgPool1d(2, 3)
      output = avg_pool(x)
      answer = jnp.array([[0.5, 3.5, 6.5, 9.5, 12.5]])
  
      assert jnp.all(output == answer)
  
imports: import warnings
  from typing import Union
  import equinox
  import jax
  import jax.nn
  import jax.numpy
  import jax.random
  import pytest
label_desc: Use image node_id 33 for calling a global function with example usage: test_avgpool1d() without return types