From cfaa946a02cd263f0e8706fd4baa019efc332391 Mon Sep 17 00:00:00 2001 From: Oleg Zabluda Date: Tue, 3 Apr 2018 16:17:51 -0700 Subject: [PATCH] Document that "same" is inconsistent across backends with strides!=1 (#9629) * Document that `"same"` is inconsistent across backends with `strides` != 1 * Use "[here](...)" --- keras/layers/convolutional.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/keras/layers/convolutional.py b/keras/layers/convolutional.py index 5afcaeee38b..9c1f6012827 100644 --- a/keras/layers/convolutional.py +++ b/keras/layers/convolutional.py @@ -373,6 +373,9 @@ class Conv2D(_Conv): Specifying any stride value != 1 is incompatible with specifying any `dilation_rate` value != 1. padding: one of `"valid"` or `"same"` (case-insensitive). + Note that `"same"` is slightly inconsistent across backends with + `strides` != 1, as described + [here](https://github.com/keras-team/keras/pull/9473#issuecomment-372166860) data_format: A string, one of `channels_last` (default) or `channels_first`. The ordering of the dimensions in the inputs.