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

Class Power

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

Source from the content-addressed store, hash-verified

950 bfloat16 operator()(bfloat16 a) { return a; }
951};
952struct Power {
953 bfloat16 operator()(bfloat16 a, bfloat16 b) {
954 return bfloat16(std::pow(static_cast<float>(a), static_cast<float>(b)));
955 }
956};
957struct Abs {
958 bfloat16 operator()(bfloat16 a) {
959 return bfloat16(std::abs(static_cast<float>(a)));

Callers 5

HandleDivideMethod · 0.85
HandleLogMethod · 0.85
HandlePowerMethod · 0.85
TEST_FFunction · 0.85
TEST_FFunction · 0.85

Calls

no outgoing calls

Tested by 2

TEST_FFunction · 0.68
TEST_FFunction · 0.68