Function tvm::prim::IsConstInt(const PrimExpr&, int64_t)

Function tvm::prim::IsConstInt(const PrimExpr&, int64_t)#

Function Documentation#

inline bool tvm::prim::IsConstInt(const PrimExpr &x, int64_t value)#

Check whether x is a constant integer expression.

Parameters:
  • x – The input argument

  • value – the value to be compared against.

Returns:

whether x is constant expression.