- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for CallFunctions (4.42 sec)
-
tensorflow/cc/experimental/libtf/tests/perf_test.cc
return TaggedValue(args.tuple()[0].i64() + args.tuple()[1].i64()); } int64_t AddRaw(int64_t a, int64_t b) { return a + b; } } // namespace // Add numbers in a loop by calling a callable. void CallFunctions(::testing::benchmark::State& state) { Integer sum(0); Callable callable((impl::TaggedValue(impl::Func(AddTagged)))); *callable.Call<Integer>(sum, Integer(30)); size_t i = 0; for (auto dummy : state) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jul 15 16:58:38 UTC 2021 - 3K bytes - Viewed (0) -
src/internal/trace/traceviewer/static/trace_viewer_full.html
const numFunctionsNow=FunctionRegistry.allFunctions.length;if(numFunctionsNow!==(numFunctionsBefore+1)){const err=new Error(filename+' didn\'t call FunctionRegistry.register');err.name='FunctionNotDefinedError';throw err;}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 20:45:06 UTC 2023 - 2.5M bytes - Viewed (0)