dgs.models.metric.metric.EuclideanDistanceMetric

class dgs.models.metric.metric.EuclideanDistanceMetric(*args: Any, **kwargs: Any)[source]

Class to compute the Euclidean distance between two matrices.

__init__(*args: Any, **kwargs: Any) None

Methods

forward(input1, input2)

Compute Euclidean distance between two matrices with a matching second dimension.