code: def args_slicer(args, bdims):
      slicers = map(slicer, args, bdims)
      return lambda i: [sl(i) for sl in slicers]
  
file_path: jax/jax/_src/internal_test_util/lax_test_util.py
imports: from __future__ import annotations
  import collections
  import itertools
  from typing import Union, cast
  from jax import lax
  from jax._src import dtypes
  from jax._src import test_util
  from jax._src.util import safe_map, safe_zip
  import numpy
  from jax import config
label_desc: Use image node_id 7 for calling a global function with example usage: args_slicer(args, bdims) and returns: function