code: def dptr_to_val(typingctx, data):
      def impl(context, builder, signature, args):
          val = builder.load(args[0])
          return val
  
      sig = types.float64(types.CPointer(types.float64))
      return sig, impl
  
imports: import ctypes
  import numba
  import numpy
  from numba.core import cgutils, types
  from numba.extending import get_cython_function_address, intrinsic, overload
  from numba.np.linalg import _copy_to_fortran_order, ensure_lapack, get_blas_kind
  from scipy import linalg
  from pytensor.link.numba.dispatch import basic
  from pytensor.link.numba.dispatch.basic import numba_funcify
  from pytensor.tensor.slinalg import BlockDiagonal, Cholesky, SolveTriangular
label_desc: Use image node_id 7 for calling a global function with example usage: dptr_to_val(typingctx, data) and returns: sig,  impl, val