MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / param

Method param

imperative/src/impl/ops/custom_opdef.cpp:21–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19 : m_op(op), m_param(param) {}
20
21void CustomOpDef::param(const custom::Param& rhs) {
22 m_param = rhs;
23}
24
25custom::Param& CustomOpDef::param(void) {
26 return m_param;

Callers 15

init_graph_rtFunction · 0.45
make_custom_opFunction · 0.45
matrix_mul_grad_ruleFunction · 0.45
warp_affine_grad_ruleFunction · 0.45
where_grad_ruleFunction · 0.45
setup_algoFunction · 0.45
DnnOprStubMethod · 0.45
DnnOprStubClass · 0.45
DnnOprHolderClass · 0.45
apply_on_var_nodeFunction · 0.45

Calls

no outgoing calls

Tested by 3

apply_on_var_nodeFunction · 0.36
make_from_op_nodeFunction · 0.36
apply_on_var_nodeFunction · 0.36