- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 121 for variadicOk (0.29 sec)
-
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) -
tensorflow/compiler/mlir/tfr/passes/raise_to_tf.cc
UnrankedTensorType result_type = UnrankedTensorType::get(result_elt_type); return rewriter.create<TF::CastOp>(loc, result_type, cast_op.getArg()); } return cast_op.getArg(); } // For variadic operands, we have to enforce them to use the same types. // TODO(fengliuai): This method is required when the operand types are not set // by the frontend correctly.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 21.8K bytes - Viewed (0) -
src/internal/types/testdata/check/typeparams.go
func f6[A any](A, []A) int { panic(0) } var _ = f6(0, nil) func f6nil[A any](A) int { panic(0) } var _ = f6nil /* ERROR "cannot infer" */ (nil) // type inference with variadic functions func f7[T any](...T) T { panic(0) } var _ int = f7 /* ERROR "cannot infer T" */ () var _ int = f7(1) var _ int = f7(1, 2) var _ int = f7([]int{}...)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 19 01:56:58 UTC 2023 - 15.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_patterns.td
def GetHLOAxisFromTFAxis : NativeCodeCall< "GetHLOAxisFromTFAxis(" "$0, $1.getType().cast<RankedTensorType>().getRank(), &$_builder)">; // Same as the above but with $1 of type operand_range from variadic TensorFlow // input. def GetHLOAxisFromTFAxisVariadic : NativeCodeCall< "GetHLOAxisFromTFAxis(" "$0, (*$1.begin()).getType().cast<RankedTensorType>().getRank(), " "&$_builder)">;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 06 18:46:23 UTC 2024 - 34.8K 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) -
testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-port.h
// MSVC-based platforms. We map the GTEST_SNPRINTF_ macro to the appropriate // function in order to achieve that. We use macro definition here because // snprintf is a variadic function. #if _MSC_VER >= 1400 && !GTEST_OS_WINDOWS_MOBILE // MSVC 2005 and above support variadic macros. # define GTEST_SNPRINTF_(buffer, size, format, ...) \ _snprintf_s(buffer, size, size, format, __VA_ARGS__) #elif defined(_MSC_VER)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 67.2K bytes - Viewed (0) -
src/text/template/exec_test.go
{"bug14c", `{{$x := (1.0)}}{{$y := ("hello")}}{{$x.anything}}{{$y.true}}`, "", tVal, false}, // Didn't call validateType on function results. Issue 10800. {"bug15", "{{valueString returnInt}}", "", tVal, false}, // Variadic function corner cases. Issue 10946. {"bug16a", "{{true|printf}}", "", tVal, false}, {"bug16b", "{{1|printf}}", "", tVal, false}, {"bug16c", "{{1.1|printf}}", "", tVal, false},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 22:23:55 UTC 2024 - 60.1K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-port.h
// MSVC-based platforms. We map the GTEST_SNPRINTF_ macro to the appropriate // function in order to achieve that. We use macro definition here because // snprintf is a variadic function. #if _MSC_VER >= 1400 && !GTEST_OS_WINDOWS_MOBILE // MSVC 2005 and above support variadic macros. # define GTEST_SNPRINTF_(buffer, size, format, ...) \ _snprintf_s(buffer, size, size, format, __VA_ARGS__) #elif defined(_MSC_VER)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 67.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_patterns.td
(TF_SelectV2Op $cond, $bcast_operand, $e), [(IsTFStyleBroadcast $broadcast_dimensions, $output)]>; //===----------------------------------------------------------------------===// // Variadic op patterns. //===----------------------------------------------------------------------===// def : Pat<(MHLO_ConcatenateOp $inputs, $dim), (TF_ConcatV2Op $inputs, (TF_ConstOp $dim))>;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Feb 03 08:58:22 UTC 2024 - 34K bytes - Viewed (0)