Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
7
def
_inplace_add_(dest, delta, alpha, beta):
8
dest._reset(apply(InplaceAdd(), dest, delta, alpha, beta)[0])
9
return
dest
Callers
3
_updates
Method · 0.85
_updates
Method · 0.85
_updates
Method · 0.85
Calls
2
apply
Function · 0.50
_reset
Method · 0.45
Tested by
no test coverage detected