Show / Hide Table of Contents

Class Identity

Initializer that generates the identity matrix. Only use for 2D matrices.If the desired matrix is not square, it pads with zeros on the additional rows/columns

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

Constructors

| Improve this Doc View Source

Identity(Single)

Initializes a new instance of the Identity class.

Declaration
public Identity(float gain = 1F)
Parameters
Type Name Description
System.Single gain

Multiplicative factor to apply to the identity matrix.

Implements

System.IDisposable
  • Improve this Doc
  • View Source
Back to top Generated by DocFX