Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/numpy/numpy
/ __array_wrap__
Method
__array_wrap__
numpy/core/tests/test_umath.py:2939–2943 ·
view source on GitHub ↗
(self, arr, context)
Source
from the content-addressed store, hash-verified
2937
return
np.zeros(1)
2938
2939
def
__array_wrap__(self, arr, context):
2940
r = with_wrap()
2941
r.arr = arr
2942
r.context = context
2943
return
r
2944
2945
a = with_wrap()
2946
x = ncu.minimum(a, a)
Callers
nothing calls this directly
Calls
2
with_wrap
Class · 0.85
view
Method · 0.45
Tested by
no test coverage detected