Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegEngine
/ g
Function
g
imperative/python/megengine/core/tensor/array_method.py:193–198 ·
view source on GitHub ↗
(self, value)
Source
from the content-addressed store, hash-verified
191
192
def
_inplace(f):
193
def
g(self, value):
194
result = f(self, value)
195
if
result is NotImplemented:
196
raise
NotImplementedError
197
self._reset(result)
198
return
self
199
200
return
g
201
Callers
nothing calls this directly
Calls
2
f
Function · 0.70
_reset
Method · 0.45
Tested by
no test coverage detected