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

#include <DataLayoutConversion.h>

Collaboration diagram for enco::DataLayoutConversionPass:

Public Member Functions

 PASS_CTOR (DataLayoutConversionPass)
 
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 31 of file DataLayoutConversion.h.

Member Function Documentation

◆ PASS_CTOR()

enco::DataLayoutConversionPass::PASS_CTOR ( DataLayoutConversionPass  )
inline

Definition at line 33 of file DataLayoutConversion.h.

34 {
35 // DO NOTHING
36 }

◆ run()

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

Implements enco::Pass.

Definition at line 38 of file DataLayoutConversion.h.

38{ convert_data_layout(code(sess)); }
Code * code(const SessionID &sess)
Definition Session.cpp:54
void convert_data_layout(enco::Code *code)
Insert data reordering if necessary.

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

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


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