Function tvm::prim::infinity

Function tvm::prim::infinity#

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.