ONE - On-device Neural Engine
Loading...
Searching...
No Matches
enco::FreeOpEliminationPass Struct Referencefinal

#include <FreeOpElimination.h>

Collaboration diagram for enco::FreeOpEliminationPass:

Public Member Functions

 PASS_CTOR (FreeOpEliminationPass)
 
void run (const SessionID &sess) const override
 
- Public Member Functions inherited from enco::Pass
 Pass (const Name &name)
 
 Pass (const Pass &)=delete
 
 Pass (Pass &&)=delete
 
virtual ~Pass ()=default
 
const Namename (void) const
 

Detailed Description

Definition at line 42 of file FreeOpElimination.h.

Member Function Documentation

◆ PASS_CTOR()

enco::FreeOpEliminationPass::PASS_CTOR ( FreeOpEliminationPass  )
inline

Definition at line 44 of file FreeOpElimination.h.

45 {
46 // DO NOTHING
47 }

◆ run()

void enco::FreeOpEliminationPass::run ( const SessionID sess) const
inlineoverridevirtual

Implements enco::Pass.

Definition at line 49 of file FreeOpElimination.h.

49{ eliminate_free_op(code(sess)); }
Code * code(const SessionID &sess)
Definition Session.cpp:54
void eliminate_free_op(coco::Module *m)
Eliminate free op.

References enco::code(), and enco::eliminate_free_op().

Referenced by package.infer.session::inference().


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