Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 59 for variadicOk (0.16 sec)

  1. tensorflow/compiler/mlir/tfr/ir/tfr_ops.td

        the `call` operation can only be with tfr.tensor and tfr.tensor_list types.
      }];
    
      let arguments = (ins
        FlatSymbolRefAttr:$callee,
        Variadic<TFR_allowedArgType>:$args);
    
      let results = (outs
        Variadic<TFR_allowedResultType>:$outs);
    
      let extraClassDeclaration = [{
        // Get the argument operands to the called function.
        operand_range getArgOperands() { return getArgs(); }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 22 10:54:29 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  2. src/go/types/call.go

    	// --------------+------------------+----------------+
    	// variadic func | nargs >= npars-1 | nargs == npars |
    	// --------------+------------------+----------------+
    
    	nargs := len(args)
    	npars := sig.params.Len()
    	ddd := hasDots(call)
    
    	// set up parameters
    	sigParams := sig.params // adjusted for variadic functions (may be nil for empty parameter lists!)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

      let summary = "XLA Launch Op. For use by the XLA JIT only.";
    
      let arguments = (ins
        Variadic<TF_Tensor>:$constants,
        Variadic<TF_Tensor>:$args,
        Variadic<TF_ResourceTensor>:$resources,
    
        SymbolRefAttr:$function
      );
    
      let results = (outs
        Variadic<TF_Tensor>:$results
      );
    
      TF_DerivedOperandSizeAttr Nresources = TF_DerivedOperandSizeAttr<2>;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 793K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/passes/tf_quant_ops.td

      );
    }
    
    def TF_CalibrationStatisticsSaverOp : TF_Op<"CalibrationStatisticsSaver", []> {
      let summary = "Aggregates and saves calibration statistics.";
    
      let arguments = (ins
        Variadic<TensorOf<[TF_Float32, TF_Int64]>>:$inputs,
    
        StrAttr:$output_file_path,
        StrArrayAttr:$ids,
        I32ArrayAttr:$calibration_methods
      );
    
      TF_DerivedOperandTypeListAttr Tin = TF_DerivedOperandTypeListAttr<0>;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 01:09:50 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/typestring.go

    }
    
    func (w *typeWriter) tuple(tup *Tuple, variadic bool) {
    	w.byte('(')
    	if tup != nil {
    		for i, v := range tup.vars {
    			if i > 0 {
    				w.byte(',')
    			}
    			// parameter names are ignored for type identity and thus type hashes
    			if w.ctxt == nil && v.name != "" && w.paramNames {
    				w.string(v.name)
    				w.byte(' ')
    			}
    			typ := v.typ
    			if variadic && i == len(tup.vars)-1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  6. src/go/types/typestring.go

    }
    
    func (w *typeWriter) tuple(tup *Tuple, variadic bool) {
    	w.byte('(')
    	if tup != nil {
    		for i, v := range tup.vars {
    			if i > 0 {
    				w.byte(',')
    			}
    			// parameter names are ignored for type identity and thus type hashes
    			if w.ctxt == nil && v.name != "" && w.paramNames {
    				w.string(v.name)
    				w.byte(' ')
    			}
    			typ := v.typ
    			if variadic && i == len(tup.vars)-1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/builtins.go

    					if check.recordTypes() {
    						sig := makeSig(S, S, y.typ)
    						sig.variadic = true
    						check.recordBuiltinType(call.Fun, sig)
    					}
    					x.mode = value
    					x.typ = S
    					break
    				}
    			}
    		}
    
    		// check general case by creating custom signature
    		sig := makeSig(S, S, NewSlice(T)) // []T required for variadic signature
    		sig.variadic = true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  8. src/go/internal/gcimporter/ureader.go

    	r.Sync(pkgbits.SyncSignature)
    
    	params := r.params()
    	results := r.params()
    	variadic := r.Bool()
    
    	return types.NewSignatureType(recv, rtparams, tparams, params, results, variadic)
    }
    
    func (r *reader) params() *types.Tuple {
    	r.Sync(pkgbits.SyncParams)
    
    	params := make([]*types.Var, r.Len())
    	for i := range params {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  9. src/go/types/builtins.go

    					if check.recordTypes() {
    						sig := makeSig(S, S, y.typ)
    						sig.variadic = true
    						check.recordBuiltinType(call.Fun, sig)
    					}
    					x.mode = value
    					x.typ = S
    					break
    				}
    			}
    		}
    
    		// check general case by creating custom signature
    		sig := makeSig(S, S, NewSlice(T)) // []T required for variadic signature
    		sig.variadic = true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/subst.go

    				tparams: t.tparams,
    				// instantiated signatures have a nil scope
    				recv:     recv,
    				params:   params,
    				results:  results,
    				variadic: t.variadic,
    			}
    		}
    
    	case *Union:
    		terms, copied := subst.termlist(t.terms)
    		if copied {
    			// term list substitution may introduce duplicate terms (unlikely but possible).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:04:07 UTC 2024
    - 11K bytes
    - Viewed (0)
Back to top