Fixes GitHub 43886

PiperOrigin-RevId: 336424731
Change-Id: I3ade3513c63c023d34bf090a3fc8a5200ea763c3
This commit is contained in:
A. Unique TensorFlower 2020-10-09 23:36:31 -07:00 committed by TensorFlower Gardener
parent a738eccf2c
commit e2c1252e71

View File

@ -575,7 +575,7 @@ class Conv2D(Conv):
specify the same value for all spatial dimensions. Specifying any stride specify the same value for all spatial dimensions. Specifying any stride
value != 1 is incompatible with specifying any `dilation_rate` value != 1. value != 1 is incompatible with specifying any `dilation_rate` value != 1.
padding: one of `"valid"` or `"same"` (case-insensitive). padding: one of `"valid"` or `"same"` (case-insensitive).
`"valid"` means no padding. `"same"` results in padding evenly to `"valid"` means no padding. `"same"` results in zero padding evenly to
the left/right or up/down of the input such that output has the same the left/right or up/down of the input such that output has the same
height/width dimension as the input. height/width dimension as the input.
data_format: A string, one of `channels_last` (default) or `channels_first`. data_format: A string, one of `channels_last` (default) or `channels_first`.