class_docstr: Defines a batch of examples along with its Fields.
  
  Attributes:
      batch_size: Number of examples in the batch.
      dataset: A reference to the dataset object the examples come from
          (which itself contains the dataset's Field objects).
      train: Deprecated: this attribute is left for backwards compatibility,
          however it is UNUSED as of the merger with pytorch 0.4.
      input_fields: The names of the fields that are used as input for the model
      target_fields: The names of the fields that are used as targets during
                     model training
  
  Also stores the Variable for each column in the batch as an attribute.
class_docstr_tok: ["Defines","a","batch","of","examples","along","with","its","Fields",".","Attributes",":","batch_size",":","Number","of","examples","in","the","batch",".","dataset",":","A","reference","to","the","dataset","object","the","examples","come","from","(","which","itself","contains","the","dataset","'s","Field","objects",")",".","train",":","Deprecated",":","this","attribute","is","left","for","backwards","compatibility",",","however","it","is","UNUSED","as","of","the","merger","with","pytorch","0.4.","input_fields",":","The","names","of","the","fields","that","are","used","as","input","for","the","model","target_fields",":","The","names","of","the","fields","that","are","used","as","targets","during","model","training","Also","stores","the","Variable","for","each","column","in","the","batch","as","an","attribute","."]
code: def __repr__(self):
      return str(self)
  
file_path: pytext/pytext/legacy/data/batch.py
imports: import torch
label_desc: Use image node_id 3 for calling the Batch obj's underlying member method code with example usage: obj.__repr__() and returns: str