Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 168 for pM (0.02 sec)

  1. tensorflow/compiler/mlir/lite/experimental/tac/tac_module.cc

      }
      return nullptr;
    }
    
    absl::Status TacModule::RunTacPasses(mlir::ModuleOp* module, bool debug_mode) {
      mlir::PassManager pm((*module)->getName(),
                           mlir::OpPassManager::Nesting::Implicit);
      AddTACPass(&pm, options_.hardware_backends);
      if (!debug_mode) {
        AddExportTFLPass(&pm, options_.enable_inliner);
      }
    
      mlir::StatusScopedDiagnosticHandler statusHandler(module->getContext(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 08 01:19:25 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/match/match.go

    }
    
    type ProtocolMatch struct {
    	TCP, HTTP *matcher.Matcher_OnMatch
    }
    
    func NewAppProtocol(pm ProtocolMatch) *matcher.Matcher {
    	m := newMapper(ApplicationProtocolInput)
    	m.Map["'h2c'"] = pm.HTTP
    	m.Map["'http/1.1'"] = pm.HTTP
    	if features.HTTP10 {
    		m.Map["'http/1.0'"] = pm.HTTP
    	}
    	m.OnNoMatch = pm.TCP
    	return m.Matcher
    }
    
    func ToChain(name string) *matcher.Matcher_OnMatch {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/init_text_file_to_import_test_pass.cc

            continue;
          }
    
          op.setValueAttr(DenseStringElementsAttr::get(shaped_type, {filename}));
        }
      }
    
      // Run the lowering pass.
      PassManager pm(context);
      pm.addNestedPass<func::FuncOp>(CreateInitTextFileToImportPass(""));
      if (failed(pm.run(module))) return signalPassFailure();
    }
    
    #define GEN_PASS_DEF_INITTEXTFILETOIMPORTSAVEDMODELTESTPASS
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 04 09:19:38 UTC 2022
    - 5.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/internal/clustering_bridge_passes.h

    // graphs.
    void AddReplicatedBridgeClusteringPipelinePasses(
        mlir::OpPassManager& pm, llvm::StringRef module_name = llvm::StringRef());
    
    // Same as above but for non replicated graphs.
    void AddNonReplicatedBridgeClusteringPipelinePasses(mlir::OpPassManager& pm);
    
    };  // namespace internal
    };  // namespace tf2xla
    };  // namespace tensorflow
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 09 22:39:15 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/optimize.cc

      if (options.form_clusters) pm.addPass(TFDevice::CreateClusterFormationPass());
    
      // Hopefully there is a single island left, or there wasn't any to begin with.
      // We now run the optimizer which operates mostly inside islands.
      func_pm.addPass(createCanonicalizerPass());
      pm.addPass(CreateTFShapeInferencePass());
      if (options.enable_inliner) {
        pm.addPass(createInlinerPass());
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/python/quantize_model.cc

      } else {
        TF_RETURN_IF_ERROR(RunPasses(
            /*name=*/
            kTfQuantPtqPreCalibrationStepName, /*add_passes_func=*/
            [&quantization_options](mlir::PassManager &pm) {
              AddQuantizePtqPreCalibrationPasses(pm, quantization_options);
            },
            *context, module_op));
      }
    
      return ExportCalibrationModel(module_op, context, quantization_options,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  7. pkg/config/analysis/analyzers/deployment/services.go

    	pm := targetPortMap{}
    	for _, swn := range svcs {
    		svc := swn.Spec
    		for _, sPort := range svc.Ports {
    			p := sPort.TargetPort.String()
    			if p == "0" || p == "" {
    				// By default and for convenience, the targetPort is set to the same value as the port field.
    				p = strconv.Itoa(int(sPort.Port))
    			}
    			if _, ok := pm[p]; !ok {
    				pm[p] = map[int32]string{}
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun May 05 03:44:57 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/util/patches/patches.go

    	if len(ignoredFiles) > 0 {
    		fmt.Fprintf(output, "[patches] Ignored the following files: %v\n", ignoredFiles)
    	}
    
    	pm := &PatchManager{
    		patchSets:    patchSets,
    		knownTargets: knownTargets,
    		output:       output,
    	}
    	pathLock.Lock()
    	pathCache[path] = pm
    	pathLock.Unlock()
    
    	return pm, nil
    }
    
    // ApplyPatchesToTarget takes a patch target and patches its "Data" using the patches
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/quantization/lite/quantize_model.cc

        output_mlir_type = input_mlir_type;
      }
    
      tensorflow::AddQuantizationPasses(mlir::TFL::PassConfig(quant_specs), pm);
      pm.addPass(TFL::CreateModifyIONodesPass(input_mlir_type, output_mlir_type));
      // If the first or final ops are not quantized, remove QDQ.
      pm.addPass(TFL::CreatePostQuantizeRemoveQDQPass());
      if (failed(pm.run(module.get()))) {
        const std::string err(statusHandler.ConsumeStatus().message());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  10. pkg/volume/csimigration/plugin_manager_test.go

    		},
    	}
    	csiTranslator := csitrans.New()
    	for _, test := range testCases {
    		pm := NewPluginManager(csiTranslator, utilfeature.DefaultFeatureGate)
    		t.Run(fmt.Sprintf("Testing %v", test.name), func(t *testing.T) {
    			featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, test.pluginFeature, test.pluginFeatureEnabled)
    			migratable, err := pm.IsMigratable(test.spec)
    			if migratable != test.isMigratable {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 14:55:34 UTC 2024
    - 5.5K bytes
    - Viewed (0)
Back to top