Constructor RandomUniform
RandomUniform(string, int[], float, float, float?)
Initializes and returns an instance of RandomUniform random layer.
Declaration
public RandomUniform(string name, int[] shape, float low, float high, float? seed)Parameters
| Type | Name | Description | 
|---|---|---|
| string | name | The name to use for the output tensor of the layer. | 
| int[] | shape | The shape for the output tensor as an array of ints. | 
| float | low | The lower end of the interval of the uniform distribution used to generate the output. | 
| float | high | The upper end of the interval of the uniform distribution used to generate the output. | 
| float? | seed | The optional seed to use for the random number generation. If this is  |