Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegEngine
/ as
Method
as
dnn/include/megdnn/dtype.h:543–545 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
541
542
template <typename T>
543
T as() const {
544
return T::downcast_from(*this);
545
}
546
547
template <typename T>
548
const DTypeParam<T>& param() const {
Callers
nothing calls this directly
Calls
1
downcast_from
Function · 0.85
Tested by
no test coverage detected