MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / U

Function U

dnn/src/naive/rng/opr_impl.cpp:30–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28 uint16_t i;
29 dt_float16 f;
30 U() : f(0) {}
31 } u;
32 u.i = (0xF << 10) | (x >> 54);
33 return dt_float16(2.f) - u.f;

Callers 6

fill_gammaFunction · 0.70
fill_multinomialFunction · 0.70
fill_poissonFunction · 0.70
SVDFunction · 0.50
feedMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected