norse.torch.functional.receptive_field.gaussian_kernel#

norse.torch.functional.receptive_field.gaussian_kernel(x, s, c)[source]#

Efficiently creates a 2d gaussian kernel.

Arguments:

x (torch.Tensor): A 2-d matrix s (float): The variance of the gaussian c (torch.Tensor): A 2x2 covariance matrix describing the eccentricity of the gaussian