Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for CreateTFStandardPipeline (0.6 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/bridge.cc

      PassManager bridge(module.getContext());
    
      StandardPipelineOptions pipeline_options;
      pipeline_options.enable_inliner.setValue(enable_inliner);
      CreateTFStandardPipeline(bridge, pipeline_options);
    
      mlir::StatusScopedDiagnosticHandler diag_handler(
          module.getContext(), /*propagate=*/false,
          /*filter_stack=*/!VLOG_IS_ON(1));
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 09 17:16:05 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/optimize.cc

        auto func = getOperation();
        if (failed(applyPatternsAndFoldGreedily(func, patterns)))
          signalPassFailure();
      }
    
      FrozenRewritePatternSet patterns;
    };
    
    }  // namespace
    
    void CreateTFStandardPipeline(OpPassManager &pm,
                                  const StandardPipelineOptions &options) {
      OpPassManager &func_pm = pm.nest<func::FuncOp>();
    
      // First operates on the executor dialect:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/quantize_preprocess.cc

      mlir::TF::StandardPipelineOptions standard_pipeline_options;
      standard_pipeline_options.enable_inliner = false;
      standard_pipeline_options.form_clusters = false;
      mlir::TF::CreateTFStandardPipeline(pm_before_freezing_variables,
                                         standard_pipeline_options);
    
      // The AddQuantizationUnitLocPass should be added before any other passes.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 12:49:45 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/python/mlir.cc

      mlir::PassManager pm(&context);
      std::string error;
      llvm::raw_string_ostream error_stream(error);
    
      mlir::TF::StandardPipelineOptions tf_options;
      mlir::TF::CreateTFStandardPipeline(pm, tf_options);
    
      mlir::StatusScopedDiagnosticHandler diagnostic_handler(&context);
      if (failed(pm.run(*module))) {
        tsl::Set_TF_Status_from_Status(status, diagnostic_handler.ConsumeStatus());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:16:49 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/tf_tfl_passes.cc

      mlir::TF::StandardPipelineOptions standard_pipeline_options;
      standard_pipeline_options.enable_inliner = false;
      standard_pipeline_options.form_clusters = pass_config.form_clusters;
      mlir::TF::CreateTFStandardPipeline(*pass_manager, standard_pipeline_options);
      pass_manager->addNestedPass<mlir::func::FuncOp>(
          mlir::TF::CreateDeviceIndexSelectorPass());
    
      // Add canonicalize pass to remove no-op session initializer pass.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 18:45:51 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/passes.h

    };
    
    // Propagates the pass manager with the passes involved in transforming or
    // optimizing an MLIR graph without any target specialization.
    // NOLINTNEXTLINE - MLIR contract is pass by mutable reference.
    void CreateTFStandardPipeline(OpPassManager& pm,
                                  const StandardPipelineOptions& options);
    
    // Propagates device attributes of resources from callers to callees.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 31.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/api/v1/compile_mlir_util.cc

      }
    
      mlir::PassManager pm(module_op.getContext());
      applyTensorflowAndCLOptions(pm);
      mlir::TF::StandardPipelineOptions tf_options;
      mlir::TF::CreateTFStandardPipeline(pm, tf_options);
    
      if (VLOG_IS_ON(1))
        tensorflow::DumpMlirOpToFile("compile_graph_setup_before", module_op);
      if (VLOG_IS_ON(2)) {
        // Print the whole module after each pass which requires disabling
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 17:24:39 UTC 2024
    - 45.3K bytes
    - Viewed (0)
Back to top