code: def patch_attr(obj, name, member, builder):
      new_member = lambda *args, member=member, **kwargs: (
          member(
              *args,
              **{k: v for k, v in kwargs.items() if k != "_builder"},
              _builder=builder,
          )
      )
      setattr(obj, name, new_member)
  
imports: import inspect
  import numpy
  import triton
  import triton.language
  from .._C.libtriton import interpreter
label_desc: Use image node_id 3 for calling a global function with example usage: patch_attr(obj, name, member, builder) without return types