code: def getData(self, indexes):
      torch.cuda.synchronize()
      cupy.cuda.Device().synchronize()
  
      return from_dlpack(self.CUPYcorpus[indexes].toDlpack())
  
imports: import numpy
  import cupy
  import torch
  import os
  from torch.utils.dlpack import to_dlpack
  from torch.utils.dlpack import from_dlpack
label_desc: Use image node_id 3 for calling the DataGadget obj's underlying member method code with example usage: obj.getData(indexes) and returns: from_dlpack