Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegEngine
/ apply
Method
apply
dnn/src/fallback/powc/opr_impl.cpp:58–60 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
56
static_assert(exp < 0,
"bad arg"
);
57
template <typename T>
58
static T apply(T x) {
59
return powci<-exp>::apply(static_cast<T>(1) / x);
60
}
61
};
62
63
struct powci_general_even {
Callers
4
rep
Function · 0.45
gaussian_blur_exec
Method · 0.45
gaussian_blur_exec_8u
Method · 0.45
pow_invoke
Function · 0.45
Calls
1
apply
Function · 0.50
Tested by
no test coverage detected