class_docstr: Pipeline built by a list of Transform instance.
class_docstr_tok: ["Pipeline","built","by","a","list","of","Transform","instance","."]
docstr: Initialize pipeline by a list of transform instance.
docstr_tok: ["Initialize","pipeline","by","a","list","of","transform","instance","."]
code: def __init__(self, opts, transform_list):
      """Initialize pipeline by a list of transform instance."""
      self.opts = None  # opts is not required
      self.transforms = transform_list
      self.statistics = TransformStatistics()
  
imports: import torch
  from onmt.utils.logging import logger
  from onmt.utils.misc import check_path
label_desc: Use image node_id 1 to create a new TransformPipe object from inherited base classes: Transform with example: obj = TransformPipe(opts, transform_list)