ONE - On-device Neural Engine
|
#include <ShapeInference.h>
Public Member Functions | |
ShapeInferenceSession (const ShapeInferenceRule *rule) | |
bool | to (Graph *g) const |
Definition at line 36 of file ShapeInference.h.
|
inline |
Definition at line 39 of file ShapeInference.h.
bool loco::ShapeInferenceSession::to | ( | Graph * | g | ) | const |
Definition at line 68 of file ShapeInference.cpp.
References loco::AnnotatedItem< Annotation >::annot(), loco::Node::dialect(), loco::ShapeInferenceRule::infer(), loco::output_nodes(), loco::postorder_traversal(), loco::ShapeInferenceRule::recognize(), loco::shape_known(), loco::ShapeInferenceRule::support(), and loco::ShapeInferenceRule::V1.
Referenced by exo::convert_to_TFLNodes(), exo::ShapeInferencePass::run(), exo::TypeInferencePass::run(), moco::tf::ShapeInferencePass::run(), and moco::tf::TypeInferencePass::run().