MCPcopy Create free account
hub / github.com/numpy/numpy / _generate_int32_data

Method _generate_int32_data

numpy/core/tests/test_numeric.py:1874–1875  ·  view source on GitHub ↗
(self, n, m)

Source from the content-addressed store, hash-verified

1872 return (10 * rand(n, m)).astype(np.int64)
1873
1874 def _generate_int32_data(self, n, m):
1875 return (10 * rand(n, m)).astype(np.int32)
1876
1877 # Now the real test cases
1878

Calls 2

randFunction · 0.85
astypeMethod · 0.80

Tested by

no test coverage detected