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

Class Remainder

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

Source from the content-addressed store, hash-verified

908 }
909};
910struct Remainder {
911 bfloat16 operator()(bfloat16 a, bfloat16 b) {
912 return bfloat16(
913 divmod(static_cast<float>(a), static_cast<float>(b)).second);
914 }
915};
916struct DivmodUFunc {
917 static std::vector<int> Types() {
918 return {npy_bfloat16, npy_bfloat16, npy_bfloat16, npy_bfloat16};

Callers 3

TryRemainderToAndFunction · 0.85
HandleRemainderMethod · 0.85
TEST_FFunction · 0.85

Calls

no outgoing calls

Tested by 1

TEST_FFunction · 0.68