tvm_tirx::ir::prim::op

Function popcount

Source
pub fn popcount(x: impl IntoExpr) -> Result<Expr>
Expand description

The number of set bits of x (C++ popcount, prim.popcount).