Template Class PCastExpr#

Inheritance Relationships#

Base Type#

Class Documentation#

template<typename DType, typename TA>
class PCastExpr : public tvm::Pattern<PCastExpr<DType, TA>>#

Pattern cast expression.

Template Parameters:
  • DType – The Pattern type of dtype.

  • TA – The pattern type of the first operand.

Public Functions

inline PCastExpr(const TA &value, const DType &dtype)#
inline void InitMatch_() const#
inline bool Match_(const ffi::ObjectRef &node) const#
inline PrimExpr Eval() const#