Show / Hide Table of Contents

Class Masking

Masks a sequence by using a mask value to skip timesteps. If all features for a given sample timestep are equal to mask_value, then the sample timestep will be masked(skipped) in all downstream layers(as long as they support masking). If any downstream layer does not support masking yet receives such an input mask, an exception will be raised.

Inheritance
System.Object
Keras
Base
BaseLayer
Masking
Implements
System.IDisposable
Inherited Members
BaseLayer.Set(BaseLayer[])
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.Layers
Assembly: Keras.dll
Syntax
public class Masking : BaseLayer, IDisposable

Constructors

| Improve this Doc View Source

Masking(Single)

Initializes a new instance of the Masking class.

Declaration
public Masking(float mask_value = 0F)
Parameters
Type Name Description
System.Single mask_value

Either None or mask value to skip

Implements

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