Template Class PVarWithCheck#
Defined in File pattern_match.h
Inheritance Relationships#
Base Type#
public tvm::Pattern< PVarWithCheck< Derived, T > >(Template Class Pattern)
Class Documentation#
-
template<typename Derived, typename T>
class PVarWithCheck : public tvm::Pattern<PVarWithCheck<Derived, T>># Wrapper for pattern variable container with extra match logic.
- Template Parameters:
Derived – the type of derived class.
T – the type of the hole.
Public Types
-
using Nested = const PVarWithCheck<Derived, T>&#
Public Functions
-
inline void InitMatch_() const#
-
template<typename NodeRefType, typename = typename std::enable_if<std::is_base_of<NodeRefType, T>::value>::type>
inline bool Match_(const NodeRefType &value) const#