Uniform
random.Uniform(self, min, max)Uniform distribution, returning values between min and max.
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| min | float | lower bound. | required |
| max | float | upper bound. | required |
Methods
| Name | Description |
|---|---|
| sample | Samples from the distribution and returns an array of the desired shape. |
sample
random.Uniform.sample(shape)Samples from the distribution and returns an array of the desired shape.