This op is from the CHLO dialect, a higher-level companion to stableHLO that is lowered to stableHLO during compilation. See https://openxla.org/stablehlo/generated/chlo#chlotop_k_chlotop_kop for details.
Arguments
- operand
(
FuncValue)
Tensor of integer, unsigned integer, or floating-point type with rank >= 1.- k
(
integer(1))
Number of top elements to return along the last dimension. Must satisfy1 <= k <= dim(operand, -1).