Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeepRec-AI/DeepRec
/ operator()
Method
operator()
tensorflow/compiler/xla/python/bfloat16.cc:1244–1247 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1242
};
1243
struct Maximum {
1244
bfloat16 operator()(bfloat16 a, bfloat16 b) {
1245
float fa(a), fb(b);
1246
return std::isnan(fa) || fa > fb ? a : b;
1247
}
1248
};
1249
struct Minimum {
1250
bfloat16 operator()(bfloat16 a, bfloat16 b) {
Callers
nothing calls this directly
Calls
1
isnan
Class · 0.85
Tested by
no test coverage detected