MCPcopy Index your code
hub / github.com/numpy/numpy / _generate_int32_data

Method _generate_int32_data

numpy/_core/tests/test_numeric.py:2363–2364  ·  view source on GitHub ↗
(self, n, m)

Source from the content-addressed store, hash-verified

2361 return (10 * rand(n, m)).astype(np.int64)
2362
2363 def _generate_int32_data(self, n, m):
2364 return (10 * rand(n, m)).astype(np.int32)
2365
2366 # Now the real test cases
2367

Calls 2

randFunction · 0.85
astypeMethod · 0.80

Tested by

no test coverage detected