|
ONE - On-device Neural Engine
|
Pass to infer shape of circle nodes. More...
#include <CircleShapeInferencePass.h>

Public Member Functions | |
| virtual const char * | name (void) const |
| bool | run (luci::Module *m) |
| bool | run (loco::Graph *graph) |
| Run the pass. | |
Public Member Functions inherited from luci::Pass | |
| bool | run (loco::Graph *) override |
| Run the pass. | |
| bool | run (luci::Module *) override |
Public Member Functions inherited from logo::Pass | |
| virtual | ~Pass ()=default |
Pass to infer shape of circle nodes.
Definition at line 30 of file CircleShapeInferencePass.h.
Reimplemented from logo::Pass.
Definition at line 33 of file CircleShapeInferencePass.h.
|
virtual |
Run the pass.
Implements logo::Pass.
Definition at line 42 of file CircleShapeInferencePass.cpp.
References loco::TensorShape::dim(), luci::inference_candidates(), luci::is_same_shape(), loco::must_cast(), luci::must_cast(), loco::TensorShape::rank(), and luci::VALID.
|
virtual |
Implements luci::ModulePass.
Definition at line 29 of file CircleShapeInferencePass.cpp.
Referenced by run().