Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions keras/layers/local.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ class LocallyConnected1D(Layer):
specifying the length of the 1D convolution window.
strides: An integer or tuple/list of a single integer,
specifying the stride length of the convolution.
Specifying any stride value != 1 is incompatible with specifying
any `dilation_rate` value != 1.
Specifying any `strides!=1` is incompatible with specifying
any `dilation_rate!=1`.
padding: Currently only supports `"valid"` (case-insensitive).
`"same"` may be supported in the future.
data_format: String, one of `channels_first`, `channels_last`.
Expand Down Expand Up @@ -250,9 +250,9 @@ class LocallyConnected2D(Layer):

# Input shape
4D tensor with shape:
`(samples, channels, rows, cols)` if data_format='channels_first'
`(samples, channels, rows, cols)` if `data_format='channels_first'`
or 4D tensor with shape:
`(samples, rows, cols, channels)` if data_format='channels_last'.
`(samples, rows, cols, channels)` if `data_format='channels_last'`.

# Output shape
4D tensor with shape:
Expand Down