Function tvm::likely

Function tvm::likely#

Function Documentation#

PrimExpr tvm::likely(PrimExpr cond, Location loc = UnknownLoc())#

Mark condition as likely.

Parameters:
  • cond – The condition

  • loc – The location of this operation in the source.

Returns:

The marked expression.