Class LinearizerDepthFirst

    • Constructor Detail

      • LinearizerDepthFirst

        public LinearizerDepthFirst()
    • Method Detail

      • linearize

        public List<Lop> linearize​(List<Lop> v)
        Description copied from class: IDagLinearizer
        Linearized a DAG of lops into a sequence of lops that preserves all data dependencies.
        Specified by:
        linearize in class IDagLinearizer
        Parameters:
        v - roots (outputs) of a DAG of lops
        Returns:
        list of lops (input, inner, and outputs)