Template Class PVarWithDataType#

Inheritance Relationships#

Base Type#

Class Documentation#

template<typename T, typename DType, typename = std::enable_if<std::is_base_of<T, PrimExpr>::value>>
class PVarWithDataType : public tvm::PVarWithCheck<PVarWithDataType<T, DType>, T>#

Pattern variable container with expr type check.

Template Parameters:
  • T – the type of the hole.

  • DType – the Pattern type of dtype.

Public Functions

inline explicit PVarWithDataType(const DType &dtype)#
inline bool Match_(const T &value) const#

Protected Attributes

DType::Nested dtype_#