-
Notifications
You must be signed in to change notification settings - Fork 538
-
i thought only sinkhorn methods enables gradient calculation due to iterative evaluation. how could EMD also support gradient calculation?
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 1 comment
-
It actually returns sub-gradients because indeed it is not differentiable but similarly to relu that is not differentiable, sub-gradient are quite sufficient for many optimization tasks (but less stable especially if you compute gradients wrt weights)
Beta Was this translation helpful? Give feedback.
All reactions
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment