'What is the difference between tf.keras.layers.Input() and tf.keras.layers.Flatten()

I have seen multiple uses of both tf.keras.layers.Flatten() (ex. here) and tf.keras.layers.Input() (ex. here). After reading the documentation, it is not clear to me

  1. whether either of them uses the other
  2. whether both can be used interchangeably when introducing to a model an input layer (let's say with dimensions (64, 64))


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source