Show / Hide Table of Contents

Class TruncatedNormal

Initializer that generates a truncated normal distribution. These values are similar to values from a RandomNormal except that values more than two standard deviations from the mean are discarded and redrawn.This is the recommended initializer for neural network weights and filters.

Inheritance
System.Object
Keras
Base
TruncatedNormal
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 TruncatedNormal : Base, IDisposable

Constructors

| Improve this Doc View Source

TruncatedNormal(Single, Single, Nullable<Int32>)

Initializes a new instance of the TruncatedNormal class.

Declaration
public TruncatedNormal(float mean = 0F, float stddev = 0.05F, int? seed = default(int? ))
Parameters
Type Name Description
System.Single mean

float. Mean of the random values to generate.

System.Single stddev

float. Standard deviation of the random values to generate..

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