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
better-engineeringRelatively self-contained tasks for better engineering contributorsmodule: portingIssues related to porting TH/THNN legacy to ATen nativemodule: sorting and selectiontriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate module
Also, I wonder if this task shouldn't be tackled via a generalization of TensorIterator that takes a vector and returns a vector, instead of taking a number and returning a number?
better-engineeringRelatively self-contained tasks for better engineering contributorsmodule: portingIssues related to porting TH/THNN legacy to ATen nativemodule: sorting and selectiontriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate module
Activity
fmassa commentedon Aug 16, 2019
For information, we already have topk and kth_value ported to ATen in https://github.com/pytorch/pytorch/blob/master/aten/src/ATen/native/Sorting.cpp
Also, I wonder if this task shouldn't be tackled via a generalization of TensorIterator that takes a vector and returns a vector, instead of taking a number and returning a number?
nikitaved commentedon May 18, 2020
It looks like topk and kth_value indeed do not utilize TensorIterator. I am thinking about fixing that.
Introducing (Const)StridedRandomAccessor + CompositeRandomAccessor + …