- class torchvision.transforms.v2.GaussianBlur(kernel_size: Union[int, Sequence[int]], sigma: Union[int, float, Sequence[float]] = (0.1, 2.0))[source]¶
Blurs image with randomly chosen Gaussian blur kernel.
The convolution will be using reflection padding corresponding to the kernel size, to maintain the input shape.
If the input is a Tensor, it is expectedto have […, C, H, W] shape, where … means an arbitrary number of leading dimensions.
- Parameters:
kernel_size (int or sequence) – Size of the Gaussian kernel.
sigma (float or tuple of python:float (min, max)) – Standard deviation to be used forcreating kernel to perform blurring. If float, sigma is fixed. If it is tupleof float (min, max), sigma is chosen uniformly at random to lie in thegiven range.
Examples using
GaussianBlur
:Illustration of transforms
GaussianBlur — Torchvision main documentation (2024)
Top Articles
Potato Gnocchi (Potato Gnocchi Recipe) | The Mediterranean Dish
ZeroPoint cheat sheet: Fruit
Chichester Crematorium | Dignity Crematoria Ltd
Chichester Crematorium | Ian Hart Funeral Service
Raypak Digital R266A Pool Heater - 266k BTUs - Natural Gas - 009217
Rheem Raypak Gas Pool Heating
Reset Your Password User Manual
Warning Fling.com is completely fake!!!!
New Student Orientation
Dartmouth Early Decision and Regular Decision Notification Dates Class of 2028
SPA FINESSE 1,5 liter aanbieding bij Dirck 3
RAMAZZOTTI AMARO 1 LITER Angebot bei Handelshof
Latest Posts
The Complete Guide to Choosing the Perfect Bridal Bouquet - שזירת פרחים - אורית הרץ
Why I Sold Both of My Instant Pots (and What I Got Instead)-- from thekitchn.com
Article information
Author: Gregorio Kreiger
Last Updated:
Views: 5721
Rating: 4.7 / 5 (77 voted)
Reviews: 84% of readers found this page helpful
Author information
Name: Gregorio Kreiger
Birthday: 1994-12-18
Address: 89212 Tracey Ramp, Sunside, MT 08453-0951
Phone: +9014805370218
Job: Customer Designer
Hobby: Mountain biking, Orienteering, Hiking, Sewing, Backpacking, Mushroom hunting, Backpacking
Introduction: My name is Gregorio Kreiger, I am a tender, brainy, enthusiastic, combative, agreeable, gentle, gentle person who loves writing and wants to share my knowledge and understanding with you.