vision icon indicating copy to clipboard operation
vision copied to clipboard

For `kernel_size` parameter, the doc of `GaussianBlur()` doesn't explain which is width or height

Open hyperkai opened this issue 10 months ago • 1 comments

📚 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].

hyperkai avatar Feb 15 '25 01:02 hyperkai

It will always be H and W as in pytorch, but feel free to submit a PR to make this clearer

NicolasHug avatar Feb 19 '25 13:02 NicolasHug