tvm_tirx::ir::prim::op

Function log2

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

The base-2 logarithm of x (C++ log2, prim.log2).