code: def assemble_tensormap_to_arg(self, tensormaps_info, args):
      args_with_tma = list(args)
      if tensormaps_info is not None:
          # tuple for hashable
          args_ptr = tuple(
              [
                  arg.data_ptr() if hasattr(arg, "data_ptr") else arg
                  for arg in args
              ]
          )
          for i, e in enumerate(tensormaps_info):
              args_with_tma.append(
                  self.tensormap_manager[(e, args_ptr)]
              )
      return args_with_tma
  
imports: import os
  import hashlib
  import tempfile
  from pathlib import Path
  from triton.runtime.build import _build
  from triton.runtime.cache import get_cache_manager
  from triton.backends.driver import GPUDriver
label_desc: Use image node_id 4 for calling the CudaDriver obj's underlying member method code with example usage: obj.assemble_tensormap_to_arg(tensormaps_info, args) and returns: args_with_tma