Implements get_input_space for FlattenerLayer to avoid confusion.