docstr: Simple helper data class that's a little nicer to use than a 2-tuple.
  
  Parameters
  ----------
  host_mem : host memory
      Memory buffers of host
  device_mem : device memory
      Memory buffers of device
code: def __init__(self, host_mem, device_mem):
      """
      Simple helper data class that's a little nicer to use than a 2-tuple.
  
      Parameters
      ----------
      host_mem : host memory
          Memory buffers of host
      device_mem : device memory
          Memory buffers of device
      """
      self.host = host_mem
      self.device = device_mem
  
file_path: nni/nni/compression/quantization_speedup/trt_pycuda.py
imports: import pycuda.driver
  import pycuda.autoinit
  import tensorrt
label_desc: Use image node_id 1 to create a new HostDeviceMem object from inherited base classes: object with example: obj = HostDeviceMem(host_mem, device_mem)