class_docstr: Wrapper around operators for reading from text files.
docstr: Create op for reading a batch of rows.
docstr_tok: ["Create","op","for","reading","a","batch","of","rows","."]
code: def read(self, net):
      """
      Create op for reading a batch of rows.
      """
      blobs = net.TextFileReaderRead(
          [self._reader],
          len(self.schema().field_names()),
          batch_size=self._batch_size,
      )
      if type(blobs) is core.BlobReference:
          blobs = [blobs]
  
      is_empty = net.IsEmpty(
          [blobs[0]],
          core.ScopedBlobReference(net.NextName("should_stop")),
      )
  
      return (is_empty, blobs)
  
imports: from caffe2.python import core
  from caffe2.python.dataio import Reader
  from caffe2.python.schema import Scalar, Struct, data_type_for_dtype
label_desc: Use image node_id 2 for calling the TextFileReader obj's underlying member method code with example usage: obj.read(net) and returns: is_empty,  blobs