class_docstr: JIT cupy function object
      
class_docstr_tok: ["JIT","cupy","function","object"]
code: def __init__(self, func, mode, device=False, inline=False):
      self.attributes = []
  
      if device:
          self.attributes.append("__device__")
      else:
          self.attributes.append("__global__")
  
      if inline:
          self.attributes.append("inline")
  
      self.name = getattr(func, "name", func.__name__)
      self.func = func
      self.mode = mode
  
imports: import functools
  import warnings
  import numpy
  import cupy
  from cupy._core import core
  from cupyx.jit import _compile
  from cupyx.jit import _cuda_typerules
  from cupyx.jit import _cuda_types
  from cupyx.jit import _internal_types
  from cupyx.jit._cuda_types import Scalar
label_desc: Use image node_id 1 to create a new _CudaFunction object  with example: obj = _CudaFunction(func, mode, device, inline)