Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 59 for variadicOk (0.17 sec)

  1. src/cmd/compile/internal/types2/signature.go

    	}
    
    	sig.params = NewTuple(params...)
    	sig.results = NewTuple(results...)
    	sig.variadic = variadic
    }
    
    // collectParams declares the parameters of list in scope and returns the corresponding
    // variable list.
    func (check *Checker) collectParams(scope *Scope, list []*syntax.Field, variadicOk bool, scopePos syntax.Pos) (params []*Var, variadic bool) {
    	if list == nil {
    		return
    	}
    
    	var named, anonymous bool
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 21:33:05 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  2. src/go/types/signature.go

    	}
    
    	sig.params = NewTuple(params...)
    	sig.results = NewTuple(results...)
    	sig.variadic = variadic
    }
    
    // collectParams declares the parameters of list in scope and returns the corresponding
    // variable list.
    func (check *Checker) collectParams(scope *Scope, list *ast.FieldList, variadicOk bool, scopePos token.Pos) (params []*Var, variadic bool) {
    	if list == nil {
    		return
    	}
    
    	var named, anonymous bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 22:06:18 UTC 2024
    - 13K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_mlrt_ops.td

      }];
    
      let arguments = (ins
        TFTensorType:$max_iterations,
        Variadic<TFTensorType>:$tensor_list_or_flow_in,
        Variadic<TFTensorType>:$invariant_args,
        FlatSymbolRefAttr:$body_fn,
        I32Attr:$num_tensor_list_or_flow_in
      );
    
      let results = (outs
         Variadic<TFTensorType>:$result
      );
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 20:44:15 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback_async.td

          input fallback tensors.
    
        results: the converted corert tensorhandles.
      }];
    
      let arguments = (ins
        Variadic<TFTensorType>:$args,
        StrAttr:$device
      );
    
      let results = (outs
        Variadic<CoreRT_TensorHandleType>:$results
      );
    
      let assemblyFormat = "operands attr-dict `:` `(` type($args) `)` `->` `(` type($results) `)`";
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 18 15:01:21 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/ir/tf_device_ops.td

        StrAttr:$device,
        FlatSymbolRefAttr:$func,
        Variadic<AnyType>);
    
      let results = (outs
        Variadic<AnyType>:$results
      );
    }
    
    def TfDevice_ParallelExecuteOp : TfDevice_Op<"parallel_execute",
        [SingleBlockImplicitTerminator<"ReturnOp">]> {
      let description = [{
        ParallelExecute op concurrently executes variadic number of regions. Regions
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 23 23:53:20 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/ir/tf_executor_ops.td

        executed and dead values are immediately returned for every result.
      }];
    
      let arguments = (ins
        Variadic<TfeControlType>:$controlInputs
      );
    
      let results = (outs
        Variadic<AnyType>:$outputs,
        TfeControlType:$control
      );
    
      let regions = (region SizedRegion<1>:$body);
    
      let extraClassDeclaration = [{
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 23 19:35:12 UTC 2023
    - 22K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/ir/tf_op_base.td

    // A derived attribute that returns the element type of `idx`-th ODS-declared
    // operand. If the `idx`-th operand is a variadic operand, then this attribute
    // just returns the element type of its first tensor, which is only meaningful
    // when the variadic operand has at least one tensor and the tensors all have
    // the same element type.
    class TF_DerivedOperandTypeAttr<int idx> : DerivedTypeAttr<
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 30.5K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/printf/printf.go

    			if !sig.Variadic() {
    				// Skip checking non-variadic functions.
    				return "", -1
    			}
    			idx := sig.Params().Len() - 2
    			if idx < 0 {
    				// Skip checking variadic functions without
    				// fixed arguments.
    				return "", -1
    			}
    			s, ok := stringConstantArg(pass, call, idx)
    			if !ok {
    				// The last argument before variadic args isn't a string.
    				return "", -1
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 32.5K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/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
    - 31.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/quantization/ir/QuantOps.td

        quantized kernel.
      }];
    
      let arguments = (ins Variadic<AnyType>:$inputs,
                        TypeArrayAttr:$input_specs,
                        TypeArrayAttr:$output_specs,
                        StrAttr:$logical_kernel);
      let results = (outs Variadic<AnyType>:$outputs);
      let regions = (region SizedRegion<1>:$body);
      let hasVerifier = 1;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 13 12:46:08 UTC 2022
    - 10.2K bytes
    - Viewed (0)
Back to top