contrib.layers.flatten

tf.contrib.layers.flatten

tf.contrib.layers.flatten

flatten(
    inputs,
    outputs_collections=None,
    scope=None
)

Defined in tensorflow/contrib/layers/python/layers/layers.py.

See the guide: Layers (contrib) > Higher level ops for building neural network layers

Flattens the input