Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for CreateFoldConstantsToSubgraphPass (0.33 sec)

  1. tensorflow/compiler/mlir/lite/experimental/tac/transforms/passes.h

    // Create an instance of GetOpCostPass.
    std::unique_ptr<OperationPass<func::FuncOp>> CreateGetOpCostPass();
    
    // Create an instance of FoldConstantsToSubgraphPass.
    std::unique_ptr<OperationPass<ModuleOp>> CreateFoldConstantsToSubgraphPass(
        bool fold_all_constants);
    
    // Create an instance of TacFilterPass.
    std::unique_ptr<OperationPass<ModuleOp>> CreateTacFilterPass(
        ::third_party::tensorflow::compiler::mlir::lite::experimental::tac::
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 19 19:32:06 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/experimental/tac/tac_module.cc

      pass_manager->addPass(mlir::TFL::tac::CreateTargetAnnotationPass(this));
      pass_manager->addPass(mlir::TFL::tac::CreateRaiseTargetSubgraphsPass());
      pass_manager->addPass(mlir::TFL::tac::CreateFoldConstantsToSubgraphPass(
          /*fold_all_constants=*/false));
      pass_manager->addPass(
          mlir::TFL::tac::CreateAlternativeSubgraphPass(device_specs));
      if (options_.legalize_to_tflite_ops) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 08 01:19:25 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/experimental/tac/transforms/fold_constants_to_subgraph.cc

            CopyConstantIntoFunc(argument_index, op, func);
          }
        });
      }
    }
    
    }  // namespace
    
    std::unique_ptr<OperationPass<ModuleOp>> CreateFoldConstantsToSubgraphPass(
        bool fold_all_constants) {
      return std::make_unique<FoldConstantsToSubgraphPass>(fold_all_constants);
    }
    
    static PassRegistration<FoldConstantsToSubgraphPass> pass;
    
    }  // namespace tac
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.1K bytes
    - Viewed (0)
Back to top