Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/numpy/numpy
/ _generate_flt_data
Method
_generate_flt_data
numpy/_core/tests/test_numeric.py:2343–2344 ·
view source on GitHub ↗
(self, n, m)
Source
from the content-addressed store, hash-verified
2341
return
randn(n, m) + 1.j * rand(n, m)
2342
2343
def
_generate_flt_data(self, n, m):
2344
return
(randn(n, m)).astype(np.float32)
2345
2346
def
_neg_byteorder(self, a):
2347
a = np.asarray(a)
Callers
nothing calls this directly
Calls
2
randn
Function · 0.85
astype
Method · 0.80
Tested by
no test coverage detected