- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for variadicOk (0.24 sec)
-
tensorflow/compiler/mlir/lite/ir/tfl_ops.td
class TFL_VariadicTensorOf<list<Type> allowedRuntimeTypes, list<Type> allowedOpTypes = [AnyType]> : Variadic<TensorOf<allowedOpTypes>>, TFL_RuntimeType<Variadic<TensorOf<allowedRuntimeTypes>>>; def TFL_I4 : I<4>; def TFL_Int32Or64 : SignlessIntOfWidths<[32, 64]>; def TFL_BoolTensor : TFL_TensorOf<[I1]>; def TFL_FpTensor : TFL_TensorOf<[F32]>;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 06 19:09:08 UTC 2024 - 186K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/optimize.cc
rewriter.replaceOp(transpose_second, resize.getResult()); return success(); } }; // Fuse Add with proceeding FullyConnected. // TODO(b/136285429): Move to tablegen when variadic is supported struct FuseFullyConnectedAndAdd : public OpRewritePattern<TFL::AddOp> { using OpRewritePattern<TFL::AddOp>::OpRewritePattern; LogicalResult matchAndRewrite(TFL::AddOp add_op,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 00:40:15 UTC 2024 - 102.3K bytes - Viewed (0) -
src/reflect/all_test.go
t.Errorf("Variadic Method Type is %s; want %s", tt, tfunc) } i := ValueOf(v.Interface()).Call([]Value{ValueOf(points[0]), ValueOf(points[1]), ValueOf(points[2])})[0].Int() if i != want { t.Errorf("Variadic Method returned %d; want %d", i, want) } i = ValueOf(v.Interface()).CallSlice([]Value{ValueOf(points)})[0].Int() if i != want { t.Errorf("Variadic Method CallSlice returned %d; want %d", i, want)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 218.8K bytes - Viewed (0) -
src/reflect/value.go
// If v is a variadic function, Call creates the variadic slice parameter // itself, copying in the corresponding values. func (v Value) Call(in []Value) []Value { v.mustBe(Func) v.mustBeExported() return v.call("Call", in) } // CallSlice calls the variadic function v with the input arguments in, // assigning the slice in[len(in)-1] to v's final variadic argument.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:17:41 UTC 2024 - 119.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc
// PackOp //===----------------------------------------------------------------------===// LogicalResult PackOp::verify() { PackOp op = *this; // TODO(hinsu): Convert variadic length attributes to derived attributes. Operation::operand_range values = op.getValues(); if (failed(VerifyTypesCompatibility(values, /*mask_one_dim=*/false,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 22:07:10 UTC 2024 - 170.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc
auto operandSegmentSizes = getOperation()->getAttrOfType<DenseI32ArrayAttr>( operand_segment_size_attr); // `operandSegmentSizes` attribute indicates the sizes of the two // variadic operands of `BatchFunctionOp`: `in_tensors` and // `captured_tensors`. The numbers have to be updated as arguments are // erased. const int32_t num_in_original = operandSegmentSizes[0];
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 146.7K bytes - Viewed (0) -
src/cmd/cgo/internal/test/callback.go
} }() C.callGoFoo() } //export goFoo func goFoo() { x := 1 for i := 0; i < 10000; i++ { // variadic call mallocs + writes to variadic(x, x, x) if x != 1 { panic("bad x") } } } func variadic(x ...interface{}) {} func testBlocking(t *testing.T) { c := make(chan int) go func() { for i := 0; i < 10; i++ { c <- <-c }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:00:02 UTC 2023 - 111.5K bytes - Viewed (0) -
doc/go1.17_spec.html
</p> <p> The final incoming parameter in a function signature may have a type prefixed with <code>...</code>. A function with such a parameter is called <i>variadic</i> and may be invoked with zero or more arguments for that parameter. </p> <pre> func() func(x int) int func(a, _ int, z float32) bool func(a, b int, z float32) (bool)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 11 20:22:45 UTC 2024 - 211.6K 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
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 - 181.3K bytes - Viewed (0) -
testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-type-util.h
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 - 181.3K bytes - Viewed (0)