code: def get_elwise_kernel(
      arguments,
      operation,
      name="kernel",
      keep=False,
      options=None,
      **kwargs,
  ):
      """Return a L{pycuda.driver.Function} that performs the same scalar operation
      on one or several vectors.
      """
      mod, func, arguments = get_elwise_kernel_and_types(
          arguments, operation, name, keep, options, **kwargs
      )
  
      return func
  
imports: from pycuda.tools import context_dependent_memoize
  from typing import Any
  import numpy
  from pycuda.tools import dtype_to_ctype, VectorArg, ScalarArg
  from pytools import memoize_method
label_desc: Use image node_id 4 for calling a global function with example usage: get_elwise_kernel(arguments, operation, name, keep, options) and returns: func