Normal
random.Normal(self, mean, std)Normal distribution, returning values with a mean of mean and a standard deviation of std.
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| mean | float | mean. | required |
| std | float | standard deviation. | required |
Methods
| Name | Description |
|---|---|
| sample | Samples from the distribution and returns an array of the desired shape. |
sample
random.Normal.sample(shape)Samples from the distribution and returns an array of the desired shape.