tfl.test_utils.sample_uniformly

View source on GitHub

Deterministically generates num_point random points within bounds.

Points will be such that: lower_bounds[i] <= p[i] <= upper_bounds[i]

Number of dimensions is defined by lengths of lower_bounds list.

num_points number of points to generate.
lower_bounds list or tuple of lower bounds.
upper_bounds list or tuple of upper bounds.

List of generated points.