Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 974 for pass2 (0.04 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/tf_savedmodel_passes.td

    ==============================================================================*/
    
    include "mlir/Pass/PassBase.td"
    
    // TF SavedModel dialect passes.
    
    def FreezeGlobalTensorsPass : Pass<"tf-saved-model-freeze-global-tensors", "ModuleOp"> {
      let summary = "Freeze tf_saved_model.global_tensor's in func bodies.";
    
      let description = [{
        This pass will replace a func's bound inputs which are bound to
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 09 19:11:34 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/lostcancel/lostcancel.go

    	}
    	inspect.Preorder(nodeTypes, func(n ast.Node) {
    		runFunc(pass, n)
    	})
    	return nil, nil
    }
    
    func runFunc(pass *analysis.Pass, node ast.Node) {
    	// Find scope of function node
    	var funcScope *types.Scope
    	switch v := node.(type) {
    	case *ast.FuncLit:
    		funcScope = pass.TypesInfo.Scopes[v.Type]
    	case *ast.FuncDecl:
    		funcScope = pass.TypesInfo.Scopes[v.Type]
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 9K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/directive/directive.go

    	Run:  runDirective,
    }
    
    func runDirective(pass *analysis.Pass) (interface{}, error) {
    	for _, f := range pass.Files {
    		checkGoFile(pass, f)
    	}
    	for _, name := range pass.OtherFiles {
    		if err := checkOtherFile(pass, name); err != nil {
    			return nil, err
    		}
    	}
    	for _, name := range pass.IgnoredFiles {
    		if strings.HasSuffix(name, ".go") {
    			f, err := parser.ParseFile(pass.Fset, name, nil, parser.ParseComments)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  4. src/cmd/internal/test2json/testdata/framefuzz.json

    {"Action":"pass","Test":"TestAddrStringAllocs/ipv6"}
    {"Action":"output","Test":"TestAddrStringAllocs/ipv6+zone","Output":"    --- PASS: TestAddrStringAllocs/ipv6+zone (0.00s)\n"}
    {"Action":"pass","Test":"TestAddrStringAllocs/ipv6+zone"}
    {"Action":"output","Test":"TestAddrStringAllocs/ipv4-in-ipv6","Output":"    --- PASS: TestAddrStringAllocs/ipv4-in-ipv6 (0.00s)\n"}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 09 17:33:07 UTC 2022
    - 6.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/stablehlo/instrumentations/save_report.cc

    }
    
    // Whether the pass is `QuantizeCompositeFunctionPass`.
    bool IsQuantizeCompositeFunctionPass(absl::Nullable<Pass*> pass,
                                         absl::Nullable<Operation*> op) {
      // It is known that `op` is `ModuleOp` when `pass` is
      // `QuantizeCompositeFunctionPass`, but the check is still performed to be
      // defensive.
      return pass != nullptr &&
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 02:59:01 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/debugging/mlir_dump.cc

      int64_t GetPassNumber(mlir::Pass* pass) {
        if (!pass_to_number_map_.contains(pass)) {
          pass_to_number_map_[pass] = mlir_pass_count_++;
        }
        return pass_to_number_map_[pass];
      }
    
      void Dump(mlir::Pass* pass, PrintCallbackFn print_callback, bool is_before) {
        auto& pass_to_dump_file_map = is_before ? pass_to_dump_file_before_map_
                                                : pass_to_dump_file_after_map_;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 05:38:57 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/buildtag/buildtag.go

    	Run:  runBuildTag,
    }
    
    func runBuildTag(pass *analysis.Pass) (interface{}, error) {
    	for _, f := range pass.Files {
    		checkGoFile(pass, f)
    	}
    	for _, name := range pass.OtherFiles {
    		if err := checkOtherFile(pass, name); err != nil {
    			return nil, err
    		}
    	}
    	for _, name := range pass.IgnoredFiles {
    		if strings.HasSuffix(name, ".go") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/buildtag/buildtag_old.go

    	Run:  runBuildTag,
    }
    
    func runBuildTag(pass *analysis.Pass) (interface{}, error) {
    	for _, f := range pass.Files {
    		checkGoFile(pass, f)
    	}
    	for _, name := range pass.OtherFiles {
    		if err := checkOtherFile(pass, name); err != nil {
    			return nil, err
    		}
    	}
    	for _, name := range pass.IgnoredFiles {
    		if strings.HasSuffix(name, ".go") {
    			f, err := parser.ParseFile(pass.Fset, name, nil, parser.ParseComments)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/go/analysis/analysis.go

    // they satisfy the Range interface.
    func (pass *Pass) ReportRangef(rng Range, format string, args ...interface{}) {
    	msg := fmt.Sprintf(format, args...)
    	pass.Report(Diagnostic{Pos: rng.Pos(), End: rng.End(), Message: msg})
    }
    
    func (pass *Pass) String() string {
    	return fmt.Sprintf("%s@%s", pass.Analyzer.Name, pass.Pkg.Path())
    }
    
    // A Fact is an intermediate fact produced during analysis.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/shift/shift.go

    	URL:      "https://pkg.go.dev/golang.org/x/tools/go/analysis/passes/shift",
    	Requires: []*analysis.Analyzer{inspect.Analyzer},
    	Run:      run,
    }
    
    func run(pass *analysis.Pass) (interface{}, error) {
    	inspect := pass.ResultOf[inspect.Analyzer].(*inspector.Inspector)
    
    	// Do a complete pass to compute dead nodes.
    	dead := make(map[ast.Node]bool)
    	nodeFilter := []ast.Node{
    		(*ast.IfStmt)(nil),
    		(*ast.SwitchStmt)(nil),
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top