Skip to content

Commit 080114d

Browse files
bors[bot]rkubeDhairyaLGandhi
authored
Merge #1825
1825: Update conv.jl r=ToucheSir a=rkube Clarify meaning of `pad` parameter in `Conv`. Co-authored-by: Ralph Kube <ralph_kube@gmx.net> Co-authored-by: Dhairya Gandhi <dhairya@juliacomputing.com>
2 parents 91abecc + de1b8b5 commit 080114d

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 borders of the data array. 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)