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