Interface Optimizer

  • All Known Implementing Classes:
    NemoOptimizer

    @DefaultImplementation(NemoOptimizer.class)
    public interface Optimizer
    An interface for optimizer, which manages the optimization over submitted IR DAGs through Policys.
    • Method Detail

      • optimizeAtCompileTime

        IRDAG optimizeAtCompileTime​(IRDAG dag)
        Optimize the submitted DAG at compile time.
        Parameters:
        dag - the input DAG to optimize.
        Returns:
        optimized DAG, reshaped or tagged with execution properties.
      • optimizeAtRunTime

        IRDAG optimizeAtRunTime​(IRDAG dag,
                                Message message)
        Optimize the submitted DAG at run time.
        Parameters:
        dag - input.
        message - for optimization.
        Returns:
        optimized DAG.