dgs.models.metric.metric.TorchreidCosineDistance

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

Call TorchReid’s version of the cosine distance.

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

Methods

forward(input1, input2)