Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for applyTensorflowAndCLOptions (0.45 sec)

  1. tensorflow/compiler/mlir/tf2xla/api/v1/cluster_tf.cc

            "1; this could happen if the binary doesn't link the constant fold "
            "hook registration library.");
      }
    
      PassManager bridge(module.getContext());
      bridge.enableVerifier();
      ::tensorflow::applyTensorflowAndCLOptions(bridge);
    
      // Populate a passmanager with the list of passes that implement the bridge.
      pipeline_builder(bridge);
    
      mlir::StatusScopedDiagnosticHandler diag_handler(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 28 22:25:18 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/utils/dump_mlir_util.cc

            path, std::make_unique<WritableFileRawStream>(std::move(file)));
      };
      pm.enableCrashReproducerGeneration(factory, /*genLocalReproducer=*/false);
    }
    
    void applyTensorflowAndCLOptions(mlir::PassManager& pm,
                                     llvm::StringRef dir_path) {
      mlir::registerPassManagerCLOptions();
      if (!mlir::succeeded(mlir::applyPassManagerCLOptions(pm))) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jan 05 03:03:46 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/api/v1/compile_tf_graph.cc

      // breakup islands passes are common between the export pipeline and here.
      // Reconsider this if there is more commonality in the future with more
      // passes.
      mlir::PassManager manager(module.getContext());
      applyTensorflowAndCLOptions(manager);
      manager.addPass(mlir::TF::CreatePrepareTpuComputationForTfExportPass());
      manager.addPass(mlir::TF::CreateTFRegionControlFlowToFunctional());
      manager.addPass(mlir::TF::CreateTFShapeInferencePass());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 22:19:26 UTC 2024
    - 14K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/api/v1/compile_mlir_util.cc

                                  bool lower_to_xla_hlo,
                                  llvm::StringRef module_name = llvm::StringRef()) {
      mlir::PassManager tf2xla(module_op.getContext());
      applyTensorflowAndCLOptions(tf2xla);
      CreateConvertMlirToXlaHloPipeline(tf2xla, device_type, enable_op_fallback,
                                        custom_legalization_passes,
                                        lower_to_xla_hlo,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 17:24:39 UTC 2024
    - 45.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/c/c_api_unified_experimental_mlir.cc

    MlirFunction::GetFunctionRecord() {
      if (func_record_) {
        return func_record_.GetNewRef();
      }
      PassManager pm(func_.getContext());
      ::tensorflow::applyTensorflowAndCLOptions(pm);
      pm.addNestedPass<func::FuncOp>(
          CreateFunctionalToExecutorDialectConversionPass());
      pm.addPass(CreateBreakUpIslandsPass());
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.2K bytes
    - Viewed (0)
Back to top