MCPcopy 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
394size_t CustomOp::input_num(void) const {
395 return OpImplRef(m_impl.get())->m_input_infos.size();
396}
397
398size_t CustomOp::output_num(void) const {
399 return OpImplRef(m_impl.get())->m_output_infos.size();

Callers 1

TESTFunction · 0.45

Calls 2

sizeMethod · 0.45
getMethod · 0.45

Tested by 1

TESTFunction · 0.36