Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegEngine
/ input_num
Method
input_num
src/custom/impl/op.cpp:394–396 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
392
}
393
394
size_t CustomOp::input_num(void) const {
395
return OpImplRef(m_impl.get())->m_input_infos.size();
396
}
397
398
size_t CustomOp::output_num(void) const {
399
return OpImplRef(m_impl.get())->m_output_infos.size();
Callers
1
TEST
Function · 0.45
Calls
2
size
Method · 0.45
get
Method · 0.45
Tested by
1
TEST
Function · 0.36