mlreco.models.layers.gnn.cluster module¶
-
mlreco.models.layers.gnn.cluster.gauss(centroid, sigma)[source]¶ Constructor for a gaussian kernel functions.
- INPUTS:
centroid: (D, ) Tensor for the coordinates of the gaussian centroid.
sigma: value for gaussian bandwidth.
- Returns
kernel function defined by centroid and sigma.
- Return type
f (function)