You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the current behavior
When using @tensorflow/tfjs-node when calling tf.topk(X,N, false) the values and indices do not return unsorted. Instead they are sorted in descending order as though tf.topk(X,N, true) had been called.
Describe the expected behavior
I would expect it to print with the same behaviour as "@tensorflow/tfjs"
I am able to reproduce the same behavior on my side. I will check this issue further to determine the root cause and solution. I'll provide you with an update soon.
System information
Describe the current behavior
When using @tensorflow/tfjs-node when calling tf.topk(X,N, false) the values and indices do not return unsorted. Instead they are sorted in descending order as though tf.topk(X,N, true) had been called.
Describe the expected behavior
I would expect it to print with the same behaviour as "@tensorflow/tfjs"
Standalone code to reproduce the issue
When using @tensorflow/tfjs-node
values prints
Describe the expected behavior
I would expect it to print with the same behaviour as "@tensorflow/tfjs"
The text was updated successfully, but these errors were encountered: