|
ONE - On-device Neural Engine
|
#include <TypeInference.h>
Public Member Functions | |
| virtual | ~TypeInferenceRule ()=default |
| virtual bool | recognize (const Dialect *) const =0 |
| Return true if this rule recognizes a given dialect. | |
| virtual bool | infer (const Node *, DataType &) const =0 |
Definition at line 41 of file TypeInference.h.
|
virtualdefault |
Framework guarantees the followings:
Implemented in locoex::CircleTypeInferenceRule, locoex::TFLTypeInferenceRule, locoex::COpTypeInferenceRule, luci::CircleTypeInferenceRule, moco::TFTypeInferenceRule, loco::CanonicalTypeInferenceRule, and loco::MultiDialectTypeInferenceRule.
Referenced by loco::TypeInferenceSession::to().
Return true if this rule recognizes a given dialect.
Implemented in loco::CanonicalTypeInferenceRule, loco::MultiDialectTypeInferenceRule, locoex::CircleTypeInferenceRule, locoex::TFLTypeInferenceRule, locoex::COpTypeInferenceRule, luci::CircleTypeInferenceRule, and moco::TFTypeInferenceRule.
Referenced by loco::TypeInferenceSession::to().