Class RandomUniform
Initializer that generates tensors with a uniform distribution.
Implements
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Keras.Initializer
Assembly: Keras.dll
Syntax
public class RandomUniform : Base, IDisposable
Constructors
| Improve this Doc View SourceRandomUniform(Single, Single, Nullable<Int32>)
Initializes a new instance of the RandomUniform class.
Declaration
public RandomUniform(float minval = -0.05F, float maxval = 0.05F, int? seed = default(int? ))
Parameters
Type | Name | Description |
---|---|---|
System.Single | minval | float. Lower bound of the range of random values to generate. |
System.Single | maxval | float. Upper bound of the range of random values to generate. Defaults to 1 for float types. |
System.Nullable<System.Int32> | seed | The seed number for random generator |
Implements
System.IDisposable