class_docstr: Represents an output destination for a `DAGPipeline`.
  
  Each `DagOutput(name)` instance given to DAGPipeline will
  be a final output bucket with the same name. If writing
  output buckets to disk, the names become dataset names.
  
  The name can be omitted if connecting `DagOutput()` to a
  dictionary mapping names to pipelines.
class_docstr_tok: ["Represents","an","output","destination","for","a","`","DAGPipeline","`",".","Each","`","DagOutput","(","name",")","`","instance","given","to","DAGPipeline","will","be","a","final","output","bucket","with","the","same","name",".","If","writing","output","buckets","to","disk",",","the","names","become","dataset","names",".","The","name","can","be","omitted","if","connecting","`","DagOutput","(",")","`","to","a","dictionary","mapping","names","to","pipelines","."]
docstr: Create an `DagOutput` with the given name.
  
  Args:
    name: If given, a string name which defines the name of this output.
        If not given, the names in the dictionary this is connected to
        will be used as output names.
docstr_tok: ["Create","an","`","DagOutput","`","with","the","given","name",".","Args",":","name",":","If","given",",","a","string","name","which","defines","the","name","of","this","output",".","If","not","given",",","the","names","in","the","dictionary","this","is","connected","to","will","be","used","as","output","names","."]
code: def __init__(self, name=None):
      """Create an `DagOutput` with the given name.
  
      Args:
        name: If given, a string name which defines the name of this output.
            If not given, the names in the dictionary this is connected to
            will be used as output names.
      """
      self.name = name
  
      # `output_type` and `input_type` are set by DAGPipeline. Since `DagOutput`
      # is not given its type, the type must be infered from what it is connected
      # to in the DAG. Having `output_type` and `input_type` makes `DagOutput` act
      # like a `Pipeline` in some cases.
      self.output_type = None
      self.input_type = None
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import itertools
  from magenta.pipelines import pipeline
  import six
label_desc: Use image node_id 1 to create a new DagOutput object from inherited base classes: object with example: obj = DagOutput(name)