Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/numpy/numpy
/ get_square_
Function
get_square_
benchmarks/benchmarks/common.py:69–71 ·
view source on GitHub ↗
(dtype)
Source
from the content-addressed store, hash-verified
67
68
@lru_cache(typed=True)
69
def
get_square_(dtype):
70
arr = get_square(dtype)
71
return
arr[:nxs, :nys]
72
73
74
@lru_cache(typed=True)
Callers
2
get_squares_
Function · 0.85
setup
Method · 0.85
Calls
1
get_square
Function · 0.85
Tested by
no test coverage detected