code: def __init__(
      self,
      minibatch_i,
      sample_range: Optional[SampleRange] = None,
      batch_args=None,
  ):
      self.minibatch_i = minibatch_i
      self.sample_range = sample_range
      self.batch_args = batch_args
      assert (self.sample_range is None) != (self.batch_args is None)
  
imports: from typing import Optional
  from nvidia.dali.types import SampleInfo
  from nvidia.dali._multiproc.struct_message import Structure
label_desc: Use image node_id 3 to create a new TaskArgs object  with example: obj = TaskArgs(minibatch_i, sample_range, batch_args)