MCPcopy Create free account
hub / github.com/NVIDIA/TensorRT / pow

Function pow

samples/common/half.h:3218–3221  ·  view source on GitHub ↗

Power function. \param base first argument \param exp second argument \return \a base raised to \a exp template typename enable ::type pow(T base, U exp) { return functions::pow(base, exp); }

Source from the content-addressed store, hash-verified

3216// template<typename T,typename U> typename enable<expr,T,U>::type pow(T base, U exp) { return functions::pow(base,
3217// exp); }
3218inline expr pow(half base, half exp)
3219{
3220 return functions::pow(base, exp);
3221}
3222inline expr pow(half base, expr exp)
3223{
3224 return functions::pow(base, exp);

Callers 2

cbrtMethod · 0.70
powMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected