MCPcopy Create free account
hub / github.com/modAL-python/modAL / random_array

Function random_array

tests/core_tests.py:44–46  ·  view source on GitHub ↗
(shape, n_arrays)

Source from the content-addressed store, hash-verified

42
43
44def random_array(shape, n_arrays):
45 for _ in range(n_arrays):
46 yield np.random.rand(*shape)
47
48
49class TestUtils(unittest.TestCase):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…