kerasadf.layers.core.Flatten¶
-
class
kerasadf.layers.core.
Flatten
(data_format=None, **kwargs)¶ Bases:
kerasadf.layers.core.ADFLayer
Flattens the input. Does not affect the batch size.
Assumed Density Filtering (ADF) version of
keras.layers.Flatten
.- Parameters
- data_format{“channels_last”, “channels_first”}, optional
The ordering of the dimensions in the inputs. “channels_last” corresponds to inputs with shape
(batch, ..., channels)
while “channels_first” corresponds to inputs with shape(batch, channels, ...)
. It defaults to theimage_data_format
value found in your Keras config file at~/.keras/keras.json
. If you never set it, then it will be “channels_last”.
-
call
(self, inputs)¶
-
compute_output_shape
(self, input_shape)¶
-
get_config
(self)¶