code: def standard_translate(prim):
      xla_opname = "".join(
          term.capitalize() for term in prim.name.split("_")
      )
      op = getattr(xops, xla_opname)
  
      def translation_rule(ctx, avals_in, avals_out, *args, **kwargs):
          del ctx, avals_in, avals_out
          return [op(*args, **kwargs)]
  
      return translation_rule
  
file_path: jax/jax/_src/lax/utils.py
imports: from functools import partial
  import operator
  from jax._src import core
  from jax._src import dispatch
  from jax._src import dtypes
  from jax._src.util import safe_zip
  from jax._src.lib import xla_client
  import numpy
label_desc: Use image node_id 6 for calling a global function with example usage: standard_translate(prim) and returns: translation_rule, list