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

Method delta

src/opr/impl/loop/impl.cpp:344–348  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

342}
343
344void LoopImpl::DescImplBase::CounterProvider::delta(int v) {
345 m_delta = v;
346 m_delta_host.ptr<int>()[0] = v;
347 m_delta_dev.copy_from_fixlayout(m_delta_host);
348}
349
350/* ========= LoopImpl::InputMaker ========= */
351

Callers 1

GradDescMethod · 0.80

Calls 1

copy_from_fixlayoutMethod · 0.80

Tested by

no test coverage detected