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

Function exp2

dnn/include/megdnn/dtype/bfloat16.hpp:1875–1877  ·  view source on GitHub ↗

Binary exponential. \param arg function argument \return 2 raised to \a arg template typename enable ::type exp2(T arg) { return functions::exp2(arg); }

Source from the content-addressed store, hash-verified

1873// template<typename T> typename enable<expr,T>::type exp2(T arg) {
1874// return functions::exp2(arg); }
1875MEGDNN_HOST MEGDNN_DEVICE inline expr exp2(bfloat16 arg) {
1876 return functions::exp2(arg);
1877}
1878MEGDNN_HOST MEGDNN_DEVICE inline expr exp2(expr arg) {
1879 return functions::exp2(arg);
1880}

Callers 1

exp2Method · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected