Class to compute the Softmax distribution of the negative Euclidean distance.
softmax_dim (int) – The dimension along which to compute the softmax.
Methods
forward(input1, input2)
forward
First compute the Euclidean distance between the two inputs, of which the second dimension has to match.
NegativeSoftmaxEuclideanDistance
NegativeSoftmaxEuclideanDistance.__init__()
dgs.models.metric.metric.IOUDistance.forward
dgs.models.metric.metric.NegativeSoftmaxEuclideanDistance.forward