Show / Hide Table of Contents

Class RandomUniform

Initializer that generates tensors with a uniform distribution.

Inheritance
System.Object
Keras
Base
RandomUniform
Implements
System.IDisposable
Inherited Members
Base.Parameters
Base.None
Base.Init()
Base.ToPython()
Base.InvokeStaticMethod(Object, String, Dictionary<String, Object>)
Base.InvokeMethod(String, Dictionary<String, Object>)
Base.Item[String]
Keras.Instance
Keras.keras
Keras.keras2onnx
Keras.tfjs
Keras.Dispose()
Keras.ToTuple(Array)
Keras.ToList(Array)
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 Source

RandomUniform(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
  • Improve this Doc
  • View Source
Back to top Generated by DocFX