class_docstr: Pipeline built by a list of Transform instance.
class_docstr_tok: ["Pipeline","built","by","a","list","of","Transform","instance","."]
docstr: Return a `TransformPipe` instance build from `transform_list`.
docstr_tok: ["Return","a","`","TransformPipe","`","instance","build","from","`","transform_list","`","."]
code: def build_from(cls, transform_list):
      """Return a `TransformPipe` instance build from `transform_list`."""
      for transform in transform_list:
          assert isinstance(
              transform, Transform
          ), "transform should be a instance of Transform."
      transform_pipe = cls(None, transform_list)
      return transform_pipe
  
imports: import torch
  from onmt.utils.logging import logger
  from onmt.utils.misc import check_path
label_desc: Use image node_id 2 for calling the TransformPipe obj's underlying member method code with example usage: obj.build_from(cls, transform_list) and returns: transform_pipe