|
pulsatrix
|
top_k()'s result: the selected values and their positions along the last dimension. More...
#include <top_k.hpp>

Public Attributes | |
| Tensor | values |
Shape (..., k): each row's k best values, best first. | |
| Tensor | indices |
Shape (..., k): each value's index within its row, as a whole-number float. | |
top_k()'s result: the selected values and their positions along the last dimension.
| Tensor pulsatrix::TopKResult::indices |
Shape (..., k): each value's index within its row, as a whole-number float.