dgs.models.metric.metric.TorchreidEuclideanSquaredDistance

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

Call TorchReid’s version of the Euclidean squared distance.

Methods

__init__(*args: Any, **kwargs: Any) None
static forward(input1: torch.Tensor, input2: torch.Tensor) torch.Tensor[source]