code: def op_record(
      name,
      nargs,
      dtypes,
      rng_factory,
      test_grad,
      nondiff_argnums=(),
      test_name=None,
  ):
      test_name = test_name or name
      nondiff_argnums = tuple(sorted(set(nondiff_argnums)))
      return OpRecord(
          name,
          nargs,
          dtypes,
          rng_factory,
          test_grad,
          nondiff_argnums,
          test_name,
      )
  
file_path: jax/tests/lax_scipy_special_functions_test.py
imports: import collections
  import functools
  import itertools
  from absl.testing import absltest
  from absl.testing import parameterized
  import numpy
  import scipy.special
  import jax
  from jax._src import test_util
  from jax.scipy import special
  from jax import config
label_desc: Use image node_id 1 for calling a global function with example usage: op_record(name, nargs, dtypes, rng_factory, test_grad, nondiff_argnums, test_name) and returns: OpRecord