tvm_tirx::ir::prim::op

Function infinity

Source
pub fn infinity(ty: impl Into<PrimType>) -> Result<Expr>
Expand description

The positive infinity of the scalar float type ty (C++ infinity, prim.infinity).