Skip to content

Commit 61d1efd

Browse files
authored
Update conv.jl
Clarify meaning of `pad` parameter in `Conv`.
1 parent 7f375aa commit 61d1efd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/layers/conv.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Then:
5050
* `filter` should be a tuple of `N` integers.
5151
* Keywords `stride` and `dilation` should each be either single integer,
5252
or a tuple with `N` integers.
53-
* Keyword `pad` can be:
53+
* Keyword `pad` specifies the number of elements added to the image borders. It can be
5454
- a single integer for equal padding all around,
5555
- a tuple of `N` integers, to apply the same padding at begin/end of each spatial dimension,
5656
- a tuple of `2*N` integers, for asymmetric padding, or

0 commit comments

Comments
 (0)