kernel_size: The dimensionality of the kernel/filter. An integer n
makes the dimensions of the kernel
nxn, and a tuple of two integers
allows you to specify the exact dimensions (
height, width).
•
stride: The number of elements to shift right by after one filter/
kernel operation. An integer
n makes the kernel shift right by that
amount. A tuple of two integers allows you to specify (
vertical_shift,
horizontal_shift). Default = 1.
•
padding: The amount of zero padding to add to the layer in the
output. An integer
n pads n entries to the rows and columns. A tuple
of two integers allows you to specify (
vertical_padding, horizontal_
padding). Default = 0.
•
dilation: For an explanation on how dilation works, refer to Chapter
7
.
An integer
Do'stlaringiz bilan baham: |