tvm
Loading...
Searching...
No Matches
tvm::ExprFunctor< FType > Class Template Reference

Type-dispatched expression functor with a caller-selected signature. More...

Collaboration diagram for tvm::ExprFunctor< FType >:

Detailed Description

template<typename FType>
class tvm::ExprFunctor< FType >

Type-dispatched expression functor with a caller-selected signature.

Template Parameters
FTypeA function signature of the form R(const Expr&, Args...).

Override Dispatch_ for a node type, or DispatchDefault_ for the default behavior. Unlike structural visitors and mutators, this functor does not traverse children automatically. Dispatch may use a registered ancestor. A derived class can add node types with a fresh inherited table. Use tvm::ExprFunctor explicitly when dialect functors are also in scope.


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