docstr: Don't call this directly. Instead, use dataset.random_reader()
code: def __init__(
      self,
      dataset,
      name,
      indices,
      batch_size=1,
      loop_over=False,
      enforce_batch_size=False,
  ):
      """Don't call this directly. Instead, use dataset.random_reader()"""
      Reader.__init__(self, dataset.content())
      self.dataset = dataset
      self.cursor = None
      self.name = name or (dataset.name + "_cursor")
      self.indices = indices
      self.batch_size = batch_size
      self.loop_over = loop_over
      self.enforce_batch_size = enforce_batch_size
  
imports: from caffe2.python import core, workspace
  from caffe2.python.dataio import Reader, Writer
  from caffe2.python.schema import Struct, from_blob_list, from_column_list, InitEmptyRecord
  import numpy
label_desc: Use image node_id 1 to create a new _DatasetRandomReader object from inherited base classes: Reader with example: obj = _DatasetRandomReader(dataset, name, indices, batch_size, loop_over, enforce_batch_size)