Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/arrayfire/arrayfire
/ convert
Function
convert
test/arrayfire_test.cpp:289–291 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
287
288
template<>
289
float convert(af::half in) {
290
return static_cast<float>(half_float::half(in.data_));
291
}
292
293
template<>
294
af_half convert(int in) {
Callers
nothing calls this directly
Calls
1
half
Class · 0.50
Tested by
no test coverage detected