Function tvm::prim::max_value#
Defined in File op.h
Function Documentation#
-
PrimExpr tvm::prim::max_value(PrimType dtype, Location loc = UnknownLoc())#
Query the maximum possible value of dtype.
- Parameters:
dtype – The primitive type.
loc – The location of this operation in the source.
- Returns:
the maximum possible value in this format.