Template Class PVar#
Defined in File pattern_match.h
Inheritance Relationships#
Base Type#
public tvm::Pattern< PVar< T > >(Template Class Pattern)
Class Documentation#
-
template<typename T>
class PVar : public tvm::Pattern<PVar<T>># Pattern variable container.
PVar is used as a “hole” in the pattern that can be matched.
- Template Parameters:
T – the type of the hole.
Public Functions
-
inline void InitMatch_() const#
-
template<typename NodeRefType, typename = typename std::enable_if<!std::is_same<NodeRefType, T>::value && std::is_base_of<ffi::ObjectRef, NodeRefType>::value && std::is_base_of<ffi::ObjectRef, T>::value>::type>
inline bool Match_(const NodeRefType &value) const#