Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OAID/Tengine
/ comp_fp16
Function
comp_fp16
internal/bin/test_permute_op.cpp:317–320 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
315
}
316
317
bool comp_fp16(__fp16 lv, float rv)
318
{
319
return fp16_to_fp32(lv) == rv;
320
}
321
322
bool comp_int8(int8_t lv, float rv, float scale)
323
{
Callers
1
comp_res
Function · 0.70
Calls
1
fp16_to_fp32
Function · 0.85
Tested by
no test coverage detected