code: def testScanShape(self, f, inputs, expected_outputs):
      outputs = extensions.eval_on_shapes(
          functools.partial(extensions.scan, f), static_argnums=(2,)
      )(*inputs)
      self.assertAllEqual(expected_outputs, outputs)
  
imports: import functools
  import itertools
  from absl import flags
  from absl.testing import parameterized
  from jax import lax
  import numpy
  import tensorflow.compat.v2
  from trax.tf_numpy import extensions
  import trax.tf_numpy.numpy
label_desc: Use image node_id 25 for calling the ExtensionsTest obj's underlying member method code with example usage: obj.testScanShape(f, inputs, expected_outputs) without return types