tvm_tirx::ir::prim::op

Function max_value

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

The largest value of the scalar type ty (C++ max_value, prim.max_value).