Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/catboost/catboost
/ ConvertFromZero
Function
ConvertFromZero
library/cpp/float16/benchmarks/convert_benchmarks.cpp:6–12 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
4
5
6
static void ConvertFromZero(benchmark::State& state) {
7
// Perform setup here
8
for (auto _ : state) {
9
// This code gets timed
10
Y_DO_NOT_OPTIMIZE_AWAY(TFloat16(0));
11
}
12
}
13
14
constexpr size_t VectorSize = 8096;
15
Callers
nothing calls this directly
Calls
1
TFloat16
Class · 0.85
Tested by
no test coverage detected