Examples:

Arguments:

data_format: A string,
one of channels_last (default) or channels_first.
The ordering of the dimensions in the inputs.
channels_last corresponds to inputs with shape
(batch, steps, features) while channels_first
corresponds to inputs with shape
(batch, features, steps).

Call arguments:

inputs: A 3D tensor.

mask: Binary tensor of shape (batch_size, steps) indicating whether
a given step should be masked (excluded from the average).