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

Class Sqrt

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

Source from the content-addressed store, hash-verified

1122 bool operator()(bfloat16 a) { return std::signbit(static_cast<float>(a)); }
1123};
1124struct Sqrt {
1125 bfloat16 operator()(bfloat16 a) {
1126 return bfloat16(std::sqrt(static_cast<float>(a)));
1127 }
1128};
1129struct Square {
1130 bfloat16 operator()(bfloat16 a) {
1131 float f(a);

Callers 15

unary_ops.ccFile · 0.50
CompileMethod · 0.50
CompileMethod · 0.50
CompileMethod · 0.50
CompileMethod · 0.50
HandleDivideMethod · 0.50
HandleLogMethod · 0.50
TEST_FFunction · 0.50
CholeskyUnblockedFunction · 0.50
XLA_TEST_PFunction · 0.50
TEST_FFunction · 0.50
TEST_FFunction · 0.50

Calls

no outgoing calls

Tested by 13

TEST_FFunction · 0.40
XLA_TEST_PFunction · 0.40
TEST_FFunction · 0.40
TEST_FFunction · 0.40
TEST_FFunction · 0.40
TEST_FFunction · 0.40
TEST_FFunction · 0.40
TEST_FFunction · 0.40
TEST_FFunction · 0.40
TEST_FFunction · 0.40
TestCWiseGradMethod · 0.40
TESTFunction · 0.40