ONE - On-device Neural Engine
Loading...
Searching...
No Matches
luci::Pass Class Reference

#include <ModulePass.h>

Collaboration diagram for luci::Pass:

Public Member Functions

bool run (loco::Graph *) override
 Run the pass.
 
bool run (luci::Module *) override
 
- Public Member Functions inherited from logo::Pass
virtual ~Pass ()=default
 
virtual const char * name (void) const
 

Detailed Description

Definition at line 37 of file ModulePass.h.

Member Function Documentation

◆ run() [1/2]

bool luci::Pass::run ( loco::Graph graph)
inlineoverridevirtual

Run the pass.

Returns
false if there was nothing changed

Implements logo::Pass.

Definition at line 42 of file ModulePass.h.

42{ throw std::runtime_error("Must inherit"); }

◆ run() [2/2]

bool luci::Pass::run ( luci::Module )
inlineoverridevirtual

Implements luci::ModulePass.

Definition at line 43 of file ModulePass.h.

43{ throw std::runtime_error("Must inherit"); }

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