MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / Maximum

Class Maximum

tensorflow/compiler/xla/python/bfloat16.cc:1243–1248  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1241 npy_bool operator()(bfloat16 a, bfloat16 b) { return a >= b; }
1242};
1243struct 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};
1249struct Minimum {
1250 bfloat16 operator()(bfloat16 a, bfloat16 b) {
1251 float fa(a), fb(b);

Callers 8

HandleMaximumMethod · 0.50
TEST_FFunction · 0.50
FindConvWithReluFunction · 0.50
ExpandDimsForBroadcastFunction · 0.50
VerifyCwiseOpsMethod · 0.50
TEST_FFunction · 0.50
SafeDivHelperFunction · 0.50
GetZeroClippedIndicesFunction · 0.50

Calls

no outgoing calls

Tested by 3

TEST_FFunction · 0.40
VerifyCwiseOpsMethod · 0.40
TEST_FFunction · 0.40