A typo in apidoc about Layer class

The document of under url has a typo.

Since the method name is compute_output_shape, Returns should be an output shape tuple, not an input shape tuple. If it returns input shape tuple, then it returns what it got as argument.

Thank you for reporting the issue. I submitted PR to fix the issue.

1 Like

The above PR was successfully merged.

Please refer to the updated Returns section as shown below

            A `tf.TensorShape` instance
            or structure of `tf.TensorShape` instances.

For more details please refer https://github.com/keras-team/keras/blob/master/keras/engine/base_layer.py#L832-L848. Thank you

1 Like