mirror of
https://github.com/ml-explore/mlx.git
synced 2025-06-26 10:41:14 +08:00
Updated default argument for stride to 1 in Conv2d() in the docstring (#22)
This commit is contained in:
parent
36b245b287
commit
2ffaee0c0d
@ -78,7 +78,7 @@ class Conv2d(Module):
|
|||||||
out_channels (int): The number of output channels.
|
out_channels (int): The number of output channels.
|
||||||
kernel_size (int or tuple): The size of the convolution filters.
|
kernel_size (int or tuple): The size of the convolution filters.
|
||||||
stride (int or tuple, optional): The size of the stride when
|
stride (int or tuple, optional): The size of the stride when
|
||||||
applying the filter. Default: 0.
|
applying the filter. Default: 1.
|
||||||
padding (int or tuple, optional): How many positions to 0-pad
|
padding (int or tuple, optional): How many positions to 0-pad
|
||||||
the input with. Default: 0.
|
the input with. Default: 0.
|
||||||
bias (bool, optional): If ``True`` add a learnable bias to the
|
bias (bool, optional): If ``True`` add a learnable bias to the
|
||||||
|
Loading…
Reference in New Issue
Block a user