Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 169 for bargs (1.2 sec)

  1. tensorflow/compiler/mlir/lite/tests/canonicalize.mlir

        %test = "tfl.less"(%limit, %limit) : (tensor<i32>, tensor<i32>) -> tensor<i1>
        "tfl.yield"(%test) : (tensor<i1>) -> ()
      },  {
      ^bb0(%barg0: tensor<f32>, %barg1: tensor<f32>):
        %cst = arith.constant dense<22.0> : tensor<f32>
        "tfl.yield"(%barg0, %cst) : (tensor<f32>, tensor<f32>) -> ()
      }) : (tensor<f32>, tensor<f32>) -> (tensor<f32>, tensor<f32>)
      func.return %0#1 : tensor<f32>
    }
    
    // -----
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/builtins.go

    	var args []*operand // not valid for _Make, _New, _Offsetof, _Trace
    	var nargs int
    	switch id {
    	default:
    		// check all arguments
    		args = check.exprList(argList)
    		nargs = len(args)
    		for _, a := range args {
    			if a.mode == invalid {
    				return
    			}
    		}
    		// first argument is always in x
    		if nargs > 0 {
    			*x = *args[0]
    		}
    	case _Make, _New, _Offsetof, _Trace:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/check.go

    		for _, v := range b.Values {
    			// Check to make sure argument count makes sense (argLen of -1 indicates
    			// variable length args)
    			nArgs := opcodeTable[v.Op].argLen
    			if nArgs != -1 && int32(len(v.Args)) != nArgs {
    				f.Fatalf("value %s has %d args, expected %d", v.LongString(),
    					len(v.Args), nArgs)
    			}
    
    			// Check to make sure aux values make sense.
    			canHaveAux := false
    			canHaveAuxInt := false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 16:41:23 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  4. src/go/types/typestring.go

    		if w.ctxt != nil {
    			w.string(strconv.Itoa(w.ctxt.getID(t)))
    		}
    		w.typeName(t.obj) // when hashing written for readability of the hash only
    		if t.inst != nil {
    			// instantiated type
    			w.typeList(t.inst.targs.list())
    		} else if w.ctxt == nil && t.TypeParams().Len() != 0 { // For type hashing, don't need to format the TypeParams
    			// parameterized type
    			w.tParamList(t.TypeParams().list())
    		}
    
    	case *TypeParam:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/printf/printf.go

    		if !ok || !it.Empty() {
    			// Skip variadic functions accepting non-interface{} args.
    			return
    		}
    	}
    	args := call.Args
    	if len(args) <= firstArg {
    		// Skip calls without variadic args.
    		return
    	}
    	args = args[firstArg:]
    
    	if firstArg == 0 {
    		if sel, ok := call.Args[0].(*ast.SelectorExpr); ok {
    			if x, ok := sel.X.(*ast.Ident); ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 32.5K bytes
    - Viewed (0)
  6. cmd/endpoint-ellipses.go

    // This applies to even distributed setup syntax as well.
    func GetAllSets(setDriveCount uint64, args ...string) ([][]string, error) {
    	var setArgs [][]string
    	if !ellipses.HasEllipses(args...) {
    		var setIndexes [][]uint64
    		// Check if we have more one args.
    		if len(args) > 1 {
    			var err error
    			setIndexes, err = getSetIndexes(args, []uint64{uint64(len(args))}, setDriveCount, nil)
    			if err != nil {
    				return nil, err
    			}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/op.go

    	for i := int64(0); i < a.NResults(); i++ {
    		tys = append(tys, a.TypeOfResult(i))
    	}
    	tys = append(tys, types.TypeMem)
    	return types.NewResults(tys)
    }
    
    // NArgs returns the number of arguments (including receiver, if there is one).
    func (a *AuxCall) NArgs() int64 {
    	return int64(len(a.abiInfo.InParams()))
    }
    
    // String returns "AuxCall{<fn>}"
    func (a *AuxCall) String() string {
    	var fn string
    	if a.Fn == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 15:29:10 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  8. src/cmd/go/internal/script/cmds.go

    			},
    		},
    		func(s *State, args ...string) (WaitFunc, error) {
    			return nil, doCompare(s, true, args...)
    		})
    }
    
    func doCompare(s *State, env bool, args ...string) error {
    	quiet := false
    	if len(args) > 0 && args[0] == "-q" {
    		quiet = true
    		args = args[1:]
    	}
    	if len(args) != 2 {
    		return ErrUsage
    	}
    
    	name1, name2 := args[0], args[1]
    	var text1, text2 string
    	switch name1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  9. src/cmd/go/main.go

    	telemetry.Inc("go/invocations")
    	telemetry.CountFlags("go/flag:", *flag.CommandLine)
    
    	args := flag.Args()
    	if len(args) < 1 {
    		base.Usage()
    	}
    
    	cfg.CmdName = args[0] // for error messages
    	if args[0] == "help" {
    		telemetry.Inc("go/subcommand:" + strings.Join(append([]string{"help"}, args[1:]...), "-"))
    		help.Help(os.Stdout, args[1:])
    		return
    	}
    
    	if cfg.GOROOT == "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:09:11 UTC 2024
    - 10K bytes
    - Viewed (0)
  10. cluster/gce/gci/configure.sh

      if [[ "${kube_addon_registry}" != "registry.k8s.io" ]]; then
        find "${dst_dir}" \( -name '*.yaml' -or -name '*.yaml.in' \) -print0 | \
          xargs -0 sed -ri "s@(image:\s.*)registry.k8s.io@\1${kube_addon_registry}@"
        find "${dst_dir}" \( -name '*.manifest' -or -name '*.json' \) -print0 | \
          xargs -0 sed -ri "s@(image\":\s+\")registry.k8s.io@\1${kube_addon_registry}@"
      fi
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 04:14:02 UTC 2024
    - 36.5K bytes
    - Viewed (0)
Back to top