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

Function _inplace_add_

imperative/python/megengine/functional/inplace.py:7–9  ·  view source on GitHub ↗
(dest, delta, alpha, beta)

Source from the content-addressed store, hash-verified

5
6
7def _inplace_add_(dest, delta, alpha, beta):
8 dest._reset(apply(InplaceAdd(), dest, delta, alpha, beta)[0])
9 return dest

Callers 3

_updatesMethod · 0.85
_updatesMethod · 0.85
_updatesMethod · 0.85

Calls 2

applyFunction · 0.50
_resetMethod · 0.45

Tested by

no test coverage detected