class_docstr: StreamSampler
      
class_docstr_tok: ["StreamSampler"]
code: def __init__(self, dataset, batch_size=1, drop_last=None):
      self.dataset = dataset
      self.batch_size = batch_size
      self.drop_last = drop_last
  
file_path: PGL/pgl/utils/data/sampler.py
imports: import time
  import numpy
label_desc: Use image node_id 1 to create a new StreamSampler object from inherited base classes: object with example: obj = StreamSampler(dataset, batch_size, drop_last)