ONE - On-device Neural Engine
|
Type Inference Rule for Canonical Dialect. More...
#include <TypeInference.h>
Public Member Functions | |
bool | recognize (const Dialect *) const final |
Return true if this rule recognizes a given dialect. | |
bool | infer (const Node *, DataType &) const final |
Public Member Functions inherited from loco::TypeInferenceRule | |
virtual | ~TypeInferenceRule ()=default |
Type Inference Rule for Canonical Dialect.
Definition at line 62 of file TypeInference.h.
Framework guarantees the followings:
Implements loco::TypeInferenceRule.
Definition at line 178 of file TypeInference.cpp.
References loco::Node::dialect(), and loco::CanonicalDialect::get().
|
finalvirtual |
Return true if this rule recognizes a given dialect.
Implements loco::TypeInferenceRule.
Definition at line 172 of file TypeInference.cpp.
References loco::CanonicalDialect::get().