Skip to content
Snippets Groups Projects
Commit 215476ff authored by hsharif3's avatar hsharif3
Browse files

Update Support.md

parent b8ffe341
No related branches found
No related tags found
No related merge requests found
...@@ -39,14 +39,15 @@ Dense(num_classes, activation="softmax") ...@@ -39,14 +39,15 @@ Dense(num_classes, activation="softmax")
* For convolutions with stride > 1 `same` convolution is NOT supported. Explicitly add `ZeroPadding2D` layer before `Conv2D` or `DepthwiseConv2D` operators. Example of what does NOT work: * For convolutions with stride > 1 `same` convolution is NOT supported. Explicitly add `ZeroPadding2D` layer before `Conv2D` or `DepthwiseConv2D` operators. Example of what does NOT work:
```python ```python
Conv2D(num_filters, (3,3), strides = (2,2), padding = `same`) Conv2D(num_filters, kernel_size = (3,3), strides = (2,2), padding = `same`)
``` ```
Example of what works instead: Example of what works instead:
```python ```python
# NOTE: Amount of padding varies with kernel sizes and strides
ZeroPadding2D(padding=(1,1), data_format = `channels_first`) # only support NCHW ZeroPadding2D(padding=(1,1), data_format = `channels_first`) # only support NCHW
Conv2D(num_filters, (3,3), strides = (2,2), padding = `valid`) Conv2D(num_filters, kernel_size = (3,3), strides = (2,2), padding = `valid`)
``` ```
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment