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.
Arguments:
maskValue: Either None or mask value to skip.
Input shape:
Arbitrary. Use the keyword argument inputShape
(tuple of integers, does not include the samples axis)
when using this layer as the first layer in a model.
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.
Arguments:
maskValue
: Either None or mask value to skip.Input shape: Arbitrary. Use the keyword argument
inputShape
(tuple of integers, does not include the samples axis) when using this layer as the first layer in a model.Output shape: Same shape as input.