def uniform(low, high, size, dtype=np.float32, seed=0):
    'Memory efficient uniform implementation.\n    '
    rng = np.random.default_rng(seed)
    out = (((high - low) * rng.random(size, dtype=dtype)) + low)
    return out
Memory efficient uniform implementation.
def uniform(low, high, size, dtype=np.float32, seed=0):
    '\n    '
    rng = np.random.default_rng(seed)
    out = (((high - low) * rng.random(size, dtype=dtype)) + low)
    return out