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

Function exp

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

Exponential function. \param arg function argument \return e raised to \a arg template typename enable ::type exp(T arg) { return functions::exp(arg); }

Source from the content-addressed store, hash-verified

1849// template<typename T> typename enable<expr,T>::type exp(T arg) {
1850// return functions::exp(arg); }
1851MEGDNN_HOST MEGDNN_DEVICE inline expr exp(bfloat16 arg) {
1852 return functions::exp(arg);
1853}
1854MEGDNN_HOST MEGDNN_DEVICE inline expr exp(expr arg) {
1855 return functions::exp(arg);
1856}

Callers 1

expMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected