Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 168 for pM (0.1 sec)

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

      // legalization passes.
      pm.addPass(mlir::createSCCPPass());
    
      if (lower_to_xla_hlo) {
        pm.addPass(mlir::TF::CreateTensorListOpsDecompositionPass());
      }
      pm.addPass(mlir::TF::CreateStackOpsDecompositionPass());
      if (lower_to_xla_hlo) {
        pm.addPass(mlir::TF::CreateTensorArrayOpsDecompositionPass());
      }
      pm.addNestedPass<mlir::func::FuncOp>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 17:24:39 UTC 2024
    - 45.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/stablehlo/cc/saved_model_export.cc

    }
    
    void AddExportPasses(mlir::PassManager& pm,
                         const bool duplicate_shape_determining_constants) {
      AddCallModuleSerializationPasses(pm);
      if (duplicate_shape_determining_constants) {
        pm.addNestedPass<mlir::func::FuncOp>(
            mlir::quant::CreateDuplicateShapeDeterminingConstantsPass());
      }
    
      pm.addPass(mlir::quant::CreateInsertMainFunctionPass());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 20 11:11:25 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  3. 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))) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:16:49 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  4. test/fixedbugs/issue6703v.go

    // license that can be found in the LICENSE file.
    
    // Check for cycles in a pointer literal's method call.
    
    package ptrlitmethcall
    
    type T int
    
    func (*T) pm() int {
    	_ = x
    	return 0
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 23 20:27:09 UTC 2022
    - 384 bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/stablehlo/cc/post_calibration.cc

      TF_RETURN_IF_ERROR(RunPasses(
          kName, /*add_passes_func=*/
          [&config](PassManager& pm) {
            // Add instrumentation to save quantization report after quantization.
            pm.addInstrumentation(
                std::make_unique<SaveQuantizationReportInstrumentation>(
                    GetReportFilePath(config)));
    
            AddPostCalibrationPasses(pm, config.pipeline_config(), config.specs());
          },
          *ctx_, module_op));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 02:59:01 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/quantization/stablehlo/quantization.cc

      // after variable freezing.
      mlir::PassManager pm(module_op.getContext());
      pm.addPass(mlir::TF::CreateTFShapeInferencePass());
      mlir::odml::AddLegalizeTFToStablehloPasses(pm, /*skip_quantization_ops=*/true,
                                                 /*skip_resize=*/false,
                                                 /*skip_partitioned_calls=*/false);
      pm.addNestedPass<mlir::func::FuncOp>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 10:49:12 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  7. pilot/pkg/security/model/authentication.go

    	"istio.io/istio/pilot/pkg/networking/util"
    	pm "istio.io/istio/pkg/model"
    	"istio.io/istio/pkg/security"
    	"istio.io/istio/pkg/spiffe"
    )
    
    const (
    	// SDSClusterName is the name of the cluster for SDS connections
    	SDSClusterName = pm.SDSClusterName
    
    	// SDSDefaultResourceName is the default name in sdsconfig, used for fetching normal key/cert.
    	SDSDefaultResourceName = pm.SDSDefaultResourceName
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 22:11:02 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/stablehlo/odml_to_stablehlo.cc

        ModuleOp tf_module, const PassPipelineCLParser& pass_pipeline) {
      PassManager pm(tf_module.getContext());
      if (failed(applyPassManagerCLOptions(pm))) {
        return tensorflow::errors::Aborted(
            "Failed to apply MLIR pass manager CL options.");
      }
    
      auto error_handler = [&](const Twine& msg) {
        emitError(UnknownLoc::get(pm.getContext())) << msg;
        return failure();
      };
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:16:49 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tf2xla/internal/logging_hooks.cc

    void EnablePassIRPrinting(PassManager& pm, const std::string& dump_group_name,
                              llvm::StringRef module_name) {
      // Print the whole module after each pass, which requires disabling
      // multi-threading as well.
      pm.getContext()->disableMultithreading();
      pm.enableIRPrinting(std::make_unique<::tensorflow::DataDumperLoggerConfig>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 05 14:26:22 UTC 2023
    - 2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/metrics/error_collector_inst_test.cc

      EXPECT_EQ(module.ok(), true);
    
      PassManager pm(module.value().get()->getName(),
                     OpPassManager::Nesting::Implicit);
      pm.addPass(std::make_unique<MockSuccessPass>());
      pm.addPass(std::make_unique<MockFailurePass>());
    
      pm.addInstrumentation(
          std::make_unique<ErrorCollectorInstrumentation>(&context));
      EXPECT_EQ(succeeded(pm.run(module.value().get())), false);
    
      auto collected_errors =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 25 01:48:36 UTC 2024
    - 8.2K bytes
    - Viewed (0)
Back to top