Function uniformInit
Creates a parameter initialiser that sets the initial value of each element in a parameter tensor to a different sample from a uniform distribution.
Parameters
Name | Description |
---|---|
minval | The lower bound of the uniform distribution. |
maxval | The upper bound of the uniform distribution. |
Returns
The constructed ParamInitializer
.