Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 168 for pM (0.02 sec)

  1. test/fixedbugs/bug371.go

    // license that can be found in the LICENSE file.
    
    // issue 2343
    
    package main
    
    type T struct{}
    
    func (t *T) pm() {}
    func (t T) m()   {}
    
    func main() {
    	p := &T{}
    	p.pm()
    	p.m()
    
    	q := &p
    	q.m()  // ERROR "requires explicit dereference|undefined"
    	q.pm() // ERROR "requires explicit dereference|undefined"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 14 21:28:48 UTC 2020
    - 432 bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/quantize_preprocess.cc

      pm.addNestedPass<mlir::func::FuncOp>(
          mlir::tf_executor::CreateTFExecutorGraphPruningPass());
      pm.addNestedPass<mlir::func::FuncOp>(
          mlir::tf_executor::CreateTFExecutorIslandCoarseningPass());
      pm.addPass(mlir::TF::CreateTFFunctionalControlFlowToRegions());
      pm.addPass(mlir::createInlinerPass());
      pm.addPass(mlir::createSymbolDCEPass());
      pm.addPass(mlir::createCanonicalizerPass());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 12:49:45 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/stablehlo/instrumentations/save_report_test.cc

      // `QuantizeCompositeFunctionsPass`. Run the passes against `module_op`.
      PassManager pm(ctx_.get());
    
      QuantizeCompositeFunctionsPassOptions options;
      pm.addPass(createQuantizeCompositeFunctionsPass(options));
    
      const std::string report_file_path =
          absl::StrCat(testing::TempDir(), "/save_report.txtpb");
      pm.addInstrumentation(std::make_unique<SaveQuantizationReportInstrumentation>(
          report_file_path));
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 02:59:01 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  4. src/cmd/vendor/github.com/google/pprof/profile/merge.go

    	}
    	for i, ln := range src.Line {
    		l.Line[i] = pm.mapLine(ln)
    	}
    	// Check memoization table. Must be done on the remapped location to
    	// account for the remapped mapping ID.
    	k := l.key()
    	if ll, ok := pm.locations[k]; ok {
    		pm.locationsByID.set(src.ID, ll)
    		return ll
    	}
    	pm.locationsByID.set(src.ID, l)
    	pm.locations[k] = l
    	pm.p.Location = append(pm.p.Location, l)
    	return l
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 17K bytes
    - Viewed (0)
  5. test/range2.go

    // and gofmt's comment location pickiness.
    
    package p
    
    type T struct{}
    
    func (*T) PM() {}
    func (T) M()   {}
    
    func test() {
    	for range T.M { // ERROR "cannot range over T.M \(value of type func\(T\)\): func must be func\(yield func\(...\) bool\): argument is not func"
    	}
    	for range (*T).PM { // ERROR "cannot range over \(\*T\).PM \(value of type func\(\*T\)\): func must be func\(yield func\(...\) bool\): argument is not func"
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 15:32:14 UTC 2023
    - 830 bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/util/strategicpatch/meta.go

    	patchMergeKey   string
    }
    
    func (pm *PatchMeta) GetPatchStrategies() []string {
    	if pm.patchStrategies == nil {
    		return []string{}
    	}
    	return pm.patchStrategies
    }
    
    func (pm *PatchMeta) SetPatchStrategies(ps []string) {
    	pm.patchStrategies = ps
    }
    
    func (pm *PatchMeta) GetPatchMergeKey() string {
    	return pm.patchMergeKey
    }
    
    func (pm *PatchMeta) SetPatchMergeKey(pmk string) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 16:45:45 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/api/v2/tf_dialect_to_executor.cc

      // the results of side effect analysis.
      pm.addPass(
          mlir::tf_executor::CreateTFExecutorUpdateControlDependenciesPass());
    
      pm.addNestedPass<FuncOp>(mlir::TFTPU::CreateTPUDevicePropagationPass());
      pm.addNestedPass<FuncOp>(mlir::TFTPU::CreateTPUColocateSplitsPass());
      pm.addPass(mlir::createSymbolDCEPass());
      pm.addNestedPass<FuncOp>(
          mlir::tf_executor::CreateTFExecutorGraphPruningPass());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 13 23:22:50 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/transforms/xla_legalize_tf_test.cc

          GetMlirModuleFromString(module_string, &context).value();
    
      PassManager pm(&context);
    
      if (mlir::failed(mlir::applyPassManagerCLOptions(pm))) return false;
      passes(&pm);
    
      return pm.run(module.get()).succeeded();
    }
    
    std::function<void(PassManager*)> legalizeTFPasses() {
      return [](PassManager* pm) {
        pm->addPass(mlir::mhlo::createLegalizeTFPass(
            /* legalize_chlo=*/true, llvm::StringRef("gpu/xpu"),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:16:07 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/passes.cc

    void AddQuantizationLoweringPasses(mlir::OpPassManager& pm) {
      // These passes are grouped together and must run in this specific order.
      pm.addNestedPass<mlir::func::FuncOp>(CreateConvertTFQuantOpsToMHLOPass());
      pm.addNestedPass<mlir::func::FuncOp>(mhlo::createChloLegalizeToHloPass());
      pm.addNestedPass<mlir::func::FuncOp>(mlir::createCanonicalizerPass());
      pm.addNestedPass<mlir::func::FuncOp>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 21 17:44:14 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. src/image/gif/writer.go

    	}
    
    	pm, _ := m.(*image.Paletted)
    	if pm == nil {
    		if cp, ok := m.ColorModel().(color.Palette); ok {
    			pm = image.NewPaletted(b, cp)
    			for y := b.Min.Y; y < b.Max.Y; y++ {
    				for x := b.Min.X; x < b.Max.X; x++ {
    					pm.Set(x, y, cp.Convert(m.At(x, y)))
    				}
    			}
    		}
    	}
    	if pm == nil || len(pm.Palette) > opts.NumColors {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:38:09 UTC 2024
    - 11.9K bytes
    - Viewed (0)
Back to top