tvm_tirx::ir::prim::op

Function nearbyint

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

x rounded to the nearest integer under the current rounding mode, a tie to even (C++ nearbyint, prim.nearbyint).