class_docstr: Arguments:
  Apply gaussian smoothing on a 1d, 2d or 3d tensor. Filtering is performed seperately for each channel in the input
  using a depthwise convolution.
      channels (int, sequence): Number of channels of the input tensors. Output will
          have this number of channels as well.
      kernel_size (int, sequence): Size of the gaussian kernel. sigma (float, sequence): Standard deviation of the
      gaussian kernel. dim (int, optional): The number of dimensions of the data.
          Default value is 2 (spatial).
class_docstr_tok: ["Arguments",":","Apply","gaussian","smoothing","on","a","1d",",","2d","or","3d","tensor",".","Filtering","is","performed","seperately","for","each","channel","in","the","input","using","a","depthwise","convolution",".","channels","(","int",",","sequence",")",":","Number","of","channels","of","the","input","tensors",".","Output","will","have","this","number","of","channels","as","well",".","kernel_size","(","int",",","sequence",")",":","Size","of","the","gaussian","kernel",".","sigma","(","float",",","sequence",")",":","Standard","deviation","of","the","gaussian","kernel",".","dim","(","int",",","optional",")",":","The","number","of","dimensions","of","the","data",".","Default","value","is","2","(","spatial",")","."]
docstr: Arguments:
  Apply gaussian filter to input.
      input (torch.Tensor): Input to apply gaussian filter on.
  Returns:
      filtered (torch.Tensor): Filtered output.
code: def forward(self, input):
      """
      Arguments:
      Apply gaussian filter to input.
          input (torch.Tensor): Input to apply gaussian filter on.
      Returns:
          filtered (torch.Tensor): Filtered output.
      """
      return self.conv(
          input, weight=self.weight.to(input.dtype), groups=self.groups
      )
  
imports: import inspect
  import math
  from typing import Any, Callable, Dict, List, Optional, Tuple, Union
  import numpy
  import torch
  from torch.nn import functional
  from transformers import CLIPImageProcessor, CLIPTextModel, CLIPTokenizer
  from ...image_processor import VaeImageProcessor
  from ...loaders import LoraLoaderMixin, TextualInversionLoaderMixin
  from ...models import AutoencoderKL, UNet2DConditionModel
  from ...models.attention_processor import Attention
  from ...models.lora import adjust_lora_scale_text_encoder
  from ...schedulers import KarrasDiffusionSchedulers
  from ...utils import USE_PEFT_BACKEND, deprecate, logging, replace_example_docstring, scale_lora_layers, unscale_lora_layers
  from ...utils.torch_utils import randn_tensor
  from ..pipeline_utils import DiffusionPipeline
  from ..stable_diffusion import StableDiffusionPipelineOutput
  from ..stable_diffusion.safety_checker import StableDiffusionSafetyChecker
label_desc: Use image node_id 2 for calling the GaussianSmoothing obj's underlying member method code with example usage: obj.forward(input) and returns: self