MCPcopy
hub / github.com/numpy/numpy / generate_state

Method generate_state

numpy/random/tests/test_direct.py:215–216  ·  view source on GitHub ↗
(self, n_words, dtype=np.uint32)

Source from the content-addressed store, hash-verified

213
214 class FakeSeedSequence:
215 def generate_state(self, n_words, dtype=np.uint32):
216 return np.zeros(n_words, dtype=dtype)
217
218 ISeedSequence.register(FakeSeedSequence)
219

Callers 3

test_reference_dataFunction · 0.80
test_zero_paddingFunction · 0.80
random.pyFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected