tvm_tirx::ir::prim::op

Function trunc

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

x rounded towards zero (C++ trunc, prim.trunc).