vision
vision copied to clipboard
For `kernel_size` parameter, the doc of `GaussianBlur()` doesn't explain which is width or height
📚 The doc issue
For kernel_size parameter, the doc of GaussianBlur() doesn't explain which is width or height as shown below so we don't know which is which:
Parameters:
- kernel_size (int or sequence) – Size of the Gaussian kernel.
Suggest a potential alternative/fix
So the doc should explain which is width or height as shown below:
Parameters:
- kernel_size (int or sequence) – Size of the Gaussian kernel
[width, height].
Or:
Parameters:
- kernel_size (int or sequence) – Size of the Gaussian kernel
[height, width].
It will always be H and W as in pytorch, but feel free to submit a PR to make this clearer