- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 25 for variadicOk (0.15 sec)
-
tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_mlrt_tpu_ops.td
}]; let arguments = (ins Variadic<TFTensorType>:$operands_and_static_shapes, DenseI32ArrayAttr:$constant_operand_indices, StrAttr:$metadata, StrAttr:$mlir_module, UI32Attr:$num_operands, DenseI32ArrayAttr:$operands_with_static_shape, StrAttr:$producer_name ); let results = (outs TFTensorType:$rendezvous_key_base, Variadic<MlrtFutureType>:$results );
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Oct 04 21:25:31 UTC 2023 - 3.1K bytes - Viewed (0) -
src/reflect/makefunc.go
// // The implementation fn can assume that the argument [Value] slice // has the number and type of arguments given by typ. // If typ describes a variadic function, the final Value is itself // a slice representing the variadic arguments, as in the // body of a variadic function. The result Value slice returned by fn // must have the number and type of results given by typ. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 15:20:05 UTC 2024 - 5.9K bytes - Viewed (0) -
test/typeparam/issue51925.go
} // Min returns the minimum element of `nums`. func Min[T IntLike, NumSlice ~[]T](nums NumSlice) T { if len(nums) == 0 { return T(0) } return Reduce(min[T], nums, nums[0]) } // VarMin is the variadic version of Min. func VarMin[T IntLike](nums ...T) T { return Min(nums) } type myInt int func main() { fmt.Println(VarMin(myInt(1), myInt(2))) seq := []myInt{1, 2} fmt.Println(Min(seq))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 14 17:22:18 UTC 2023 - 963 bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/remove_sharding_custom_call.td
>; // Removes `stablehlo.custom_call @Sharding`. Assumes this call always accepts // one input. Other attributes are ignored. def RemoveShardingCustomCall : Pat< (StableHLO_CustomCallOp (variadic $input0), $call_target_name, $_, $_, $_, $_, $_, $_, $_), (replaceWithValue $input0),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Mar 13 07:04:47 UTC 2024 - 1.2K bytes - Viewed (0) -
src/internal/types/testdata/fixedbugs/issue59956.go
func h3[P any](func(P), func(P), func() P) {} func h4[P, Q any](func(P), func(P, Q), func() Q, func(P, Q)) {} func r1() int { return 0 } func _() { h3(g1, g1, r1) h4(g1, g2, r1, g2) } // Variadic cases func f(func(int)) func g[P any](P) {} func d[P any](...func(P)) {} func _() { d /* ERROR "cannot infer P" */ () d(f) d(f, g) d(f, g, g) d /* ERROR "cannot infer P" */ (g, g, g)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 04 17:35:44 UTC 2023 - 873 bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/convert_tpu_model_to_cpu.td
include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.td" include "mlir/IR/OpBase.td" include "mlir/IR/PatternBase.td" include "tensorflow/compiler/mlir/quantization/common/attrs_and_constraints.td" // Combines the two variadic arguments ($in_tensors and $captured_tensors). def GetBatchFunctionOpArgOperands: NativeCodeCall<"cast<TF::BatchFunctionOp>($0[0].getDefiningOp()).getArgOperands()">;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 02 18:58:35 UTC 2024 - 1.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/runtime_fallback/runtime_fallback_ops.td
} : (!tfrt.chain, !tfd.tf_tensor, !tfd.tf_tensor) -> ( !tfrt.chain, !tfd.tf_tensor) }]; let arguments = (ins TFRT_ChainType, Variadic<AnyType>); let results = (outs TFRT_ChainType, Variadic<AnyType>); } def PrintTftOp : RuntimeFallbackDialect_Op<"print_tft"> { let summary = "print TF tensor operation"; let description = [{
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 23 19:35:12 UTC 2023 - 5.9K bytes - Viewed (0) -
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) -
testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-type-util.h.pump
struct AssertTypeEq; template <typename T> struct AssertTypeEq<T, T> { typedef bool type; }; // A unique type used as the default value for the arguments of class // template Types. This allows us to simulate variadic templates // (e.g. Types<int>, Type<int, double>, and etc), which C++ doesn't // support directly. struct None {}; // The following family of struct and struct templates are used to
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 9.1K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-type-util.h.pump
struct AssertTypeEq; template <typename T> struct AssertTypeEq<T, T> { typedef bool type; }; // A unique type used as the default value for the arguments of class // template Types. This allows us to simulate variadic templates // (e.g. Types<int>, Type<int, double>, and etc), which C++ doesn't // support directly. struct None {}; // The following family of struct and struct templates are used to
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 9.1K bytes - Viewed (0)