Is it always necessary to specify the input shape of any module that is part of a Sequential Layers.
Like in case of keras if you are building a seq layers u dont need to give the input shape of  hidden layers  just the output shape.