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

Method opr

dnn/test/common/task_record_check.h:140–145  ·  view source on GitHub ↗

get the opr impl so setting other than param() can be modified

Source from the content-addressed store, hash-verified

138
139 //! get the opr impl so setting other than param() can be modified
140 Opr* opr() {
141 if (!m_opr_cur) {
142 m_opr_cur = m_handle->create_operator<Opr>();
143 }
144 return m_opr_cur.get();
145 }
146
147 void free_opr() {
148 if (m_opr_cur) {

Callers 1

execMethod · 0.95

Calls 1

getMethod · 0.45

Tested by

no test coverage detected