tvm
tvm::relay::PatternFunctor< FType > Class Template Reference

A dynamical functor on ADT patterns that dispatches on its first argument. You can use this as a more powerful visitor, since it allows you to define the types of further arguments to VisitPattern. More...

Collaboration diagram for tvm::relay::PatternFunctor< FType >:

Detailed Description

template<typename FType>
class tvm::relay::PatternFunctor< FType >

A dynamical functor on ADT patterns that dispatches on its first argument. You can use this as a more powerful visitor, since it allows you to define the types of further arguments to VisitPattern.

See also
tvm/ir_functor.h
Template Parameters
FTypefunction signiture This type is only defined for FType with function signature R(const Pattern&, Args...)

The documentation for this class was generated from the following file: