Keras Masking Layer

Masks a sequence by using a mask value to skip timesteps. For each timestep in the input tensor (first dimension in the tensor), if all values in the input tensor at that timestep are equal to mask_value, then the timestep will be masked (skipped) in all downstream layers (as long as they support masking). Corresponds to the Keras Masking Layer.

Options

Name prefix
The name prefix of the layer. The prefix is complemented by an index suffix to obtain a unique layer name. If this option is unchecked, the name prefix is derived from the layer type.
Mask value
For each timestep in the input tensor (first dimension), if all values in the input tensor at that timestep are equal to mask_value, then the timestep will be masked (skipped) in all downstream layers (as long as they support masking).

Input Ports

Icon
The Keras deep learning network to which to add a Masking layer.

Output Ports

Icon
The Keras deep learning network with an added Masking layer.

Views

This node has no views

Workflows

Links

Developers

You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.