- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 121 for variadicOk (0.25 sec)
-
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) -
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) -
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) -
test/fixedbugs/issue5231.go
// license that can be found in the LICENSE file. // Issue 5231: method values lose their variadic property. package p type T int func (t T) NotVariadic(s []int) int { return int(t) + s[0] } func (t T) Variadic(s ...int) int { return int(t) + s[0] } type I interface { NotVariadic(s []int) int Variadic(s ...int) int } func F() { var t T var p *T = &t var i I = p
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 742 bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/ir/mlrt/mlrt_ops.td
Execute $a_true_fn with $args if $cond is true; otherwise, %b_false_fn is executed. }]; let arguments = (ins I1:$cond, Variadic<AnyType>:$args, SymbolRefAttr:$a_true_fn, SymbolRefAttr:$b_false_fn ); let results = (outs Variadic<AnyType>:$results ); let assemblyFormat = [{ $cond $a_true_fn $b_false_fn `(` $args `)` attr-dict `:` `(` type($args) `)` `->` `(` type($results) `)`
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 08 22:07:30 UTC 2023 - 6.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_lowering_patterns.td
(MHLO_CompositeOp:$composite (variadic $inputs), ConstantStrAttr<StrAttr, "aten.gelu.default">, $attrs, $_, $_), (TFL_GeluOp $inputs, ConstBoolAttrFalse), [(IsStrCompositeAttribute<"approximate", "none"> $attrs)]>; def LegalizeCompositeApproximateAtenGELU : Pat< (MHLO_CompositeOp:$composite (variadic $inputs),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 06 18:45:51 UTC 2024 - 4.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_ops.td
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 22 21:35:32 UTC 2024 - 6.7K bytes - Viewed (0) -
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) -
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) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops.td
TF_StrTensor:$names, Variadic<TF_StrTensor>:$sparse_keys, Variadic<TF_StrTensor>:$dense_keys, Variadic<TensorOf<[TF_Float32, TF_Int64, TF_Str]>>:$dense_defaults, TF_ShapeAttrArray:$dense_shapes ); let results = (outs Variadic<TF_Int64Tensor>:$sparse_indices, // len(sparse_types)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 24 04:08:35 UTC 2024 - 90.5K bytes - Viewed (0)