class_docstr: Transform function container.
  
  lambda can't work well when using DDP because
  lambda is not pickable in the case of multi process.
  This class is required for DDP use case.
  
  Args:
      converter: batch converter
      load: function object to load data and create minibatch
class_docstr_tok: ["Transform","function","container",".","lambda","ca","n't","work","well","when","using","DDP","because","lambda","is","not","pickable","in","the","case","of","multi","process",".","This","class","is","required","for","DDP","use","case",".","Args",":","converter",":","batch","converter","load",":","function","object","to","load","data","and","create","minibatch"]
docstr: Initialize.
docstr_tok: ["Initialize","."]
code: def __init__(self, converter, load):
      """Initialize."""
      self._converter = converter
      self._load = load
  
file_path: espnet/espnet/utils/dataset.py
imports: import torch
  import torch.utils.data
label_desc: Use image node_id 1 to create a new Transform object  with example: obj = Transform(converter, load)