How to perform the MaxSim operator leveraging torch procedures? #564
celsofranssa
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Let
T
andL
be two batches of matrices(MxN)
and a functionf(ti,lj)
that calculates a score for matricesti
andlj
. For instance, ifand the score function is defined as shown in the following code snippet:
Is there an approach to apply
Distances
to return a score matrixS
, whereS[i,j]
represents the score betweenT[i]
andL[j]
?NOTE: This operation must be differentiable.
Beta Was this translation helpful? Give feedback.
All reactions