Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Node similarity metric learning module cannot perform gradient backpropagation #9

Open
syiswell opened this issue Apr 11, 2022 · 2 comments

Comments

@syiswell
Copy link

The tensor in the Node similarity metric learning module cannot perform gradient backpropagation due to the greater operation, which leads to the parameters cannot being updated.

@jhljx
Copy link

jhljx commented Oct 4, 2022

I have the same confusion, too. This module also uses some ops, such as tf.sort. I don't know whether the weight param in cosine similarity calculation can get gradient back-propagation or not.

@ShowTBC
Copy link

ShowTBC commented Mar 14, 2023

\begin{equation}
A_{i j}= \begin{cases}1, & M_{i j}>=\operatorname{Rank}_{\varepsilon n^2}(M) \ 0, & \text { otherwise }\end{cases}
\end{equation}
I think this operation cannot perform gradient backpropagation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants