class_docstr: Defines a general datatype.
  
  Every dataset consists of one or more types of data. For instance, a text
  classification dataset contains sentences and their classes, while a
  machine translation dataset contains paired examples of text in two
  languages. Each of these types of data is represented by a RawField object.
  A RawField object does not assume any property of the data type and
  it holds parameters relating to how a datatype should be processed.
  
  Attributes:
      preprocessing: The Pipeline that will be applied to examples
          using this field before creating an example.
          Default: None.
      postprocessing: A Pipeline that will be applied to a list of examples
          using this field before assigning to a batch.
          Function signature: (batch(list)) -> object
          Default: None.
      is_target: Whether this field is a target variable.
          Affects iteration over batches. Default: False
class_docstr_tok: ["Defines","a","general","datatype",".","Every","dataset","consists","of","one","or","more","types","of","data",".","For","instance",",","a","text","classification","dataset","contains","sentences","and","their","classes",",","while","a","machine","translation","dataset","contains","paired","examples","of","text","in","two","languages",".","Each","of","these","types","of","data","is","represented","by","a","RawField","object",".","A","RawField","object","does","not","assume","any","property","of","the","data","type","and","it","holds","parameters","relating","to","how","a","datatype","should","be","processed",".","Attributes",":","preprocessing",":","The","Pipeline","that","will","be","applied","to","examples","using","this","field","before","creating","an","example",".","Default",":","None",".","postprocessing",":","A","Pipeline","that","will","be","applied","to","a","list","of","examples","using","this","field","before","assigning","to","a","batch",".","Function","signature",":","(","batch","(","list",")",")","-",">","object","Default",":","None",".","is_target",":","Whether","this","field","is","a","target","variable",".","Affects","iteration","over","batches",".","Default",":","False"]
docstr: Process a list of examples to create a batch.
  
  Postprocess the batch with user-provided Pipeline.
  
  Args:
      batch (list(object)): A list of object from a batch of examples.
  Returns:
      object: Processed object given the input and custom
      postprocessing Pipeline.
docstr_tok: ["Process","a","list","of","examples","to","create","a","batch",".","Postprocess","the","batch","with","user-provided","Pipeline",".","Args",":","batch","(","list","(","object",")",")",":","A","list","of","object","from","a","batch","of","examples",".","Returns",":","object",":","Processed","object","given","the","input","and","custom","postprocessing","Pipeline","."]
code: def process(self, batch, *args, **kwargs):
      """Process a list of examples to create a batch.
  
      Postprocess the batch with user-provided Pipeline.
  
      Args:
          batch (list(object)): A list of object from a batch of examples.
      Returns:
          object: Processed object given the input and custom
          postprocessing Pipeline.
      """
      if self.postprocessing is not None:
          batch = self.postprocessing(batch)
      return batch
  
imports: from collections import Counter, OrderedDict
  from itertools import chain
  import torch
  from torchtext.data.utils import dtype_to_attr, get_tokenizer, is_tokenizer_serializable
  from ..vocab import Vocab
  from .dataset import Dataset
  from .pipeline import Pipeline
label_desc: Use image node_id 3 for calling the RawField obj's underlying member method code with example usage: obj.process(batch) and returns: batch