code: def unroll_descriptors(descriptors, unroller):
      """Returns `Recurrent` wrapped descriptors with the given unroller applied."""
      out = []
      for name, create, shape, dtype in descriptors:
          name = f"Recurrent({name}, {unroller.__name__})"
          out.append(
              ModuleDescriptor(
                  name=name,
                  create=recurrent_factory(create, unroller),
                  shape=shape,
                  dtype=dtype,
              )
          )
      return tuple(out)
  
imports: from collections.abc import Sequence
  from typing import Any, Callable, NamedTuple
  import haiku
  import jax
  import jax.numpy
  import numpy
label_desc: Use image node_id 3 for calling a global function with example usage: unroll_descriptors(descriptors, unroller) and returns: tuple