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.
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.Layers
Assembly: Keras.dll
Syntax
public class Masking : BaseLayer, IDisposable
Constructors
| Improve this Doc View SourceMasking(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