ONE - On-device Neural Engine
Loading...
Searching...
No Matches
coco::EntityBuilder Class Reference

A base class for IR entity builders. More...

#include <EntityBuilder.h>

Public Member Functions

virtual ~EntityBuilder ()=default
 

Protected Member Functions

Modulemodule (void) const
 
void module (Module *m)
 
void modulize (Entity *entity) const
 

Detailed Description

A base class for IR entity builders.

NOTE Only EntityBuilder is allowed to update module field of each Entity

Definition at line 31 of file EntityBuilder.h.

Constructor & Destructor Documentation

◆ ~EntityBuilder()

virtual coco::EntityBuilder::~EntityBuilder ( )
virtualdefault

Member Function Documentation

◆ module() [1/2]

void coco::EntityBuilder::module ( Module m)
inlineprotected

Definition at line 39 of file EntityBuilder.h.

39{ _module = m; }

References m.

◆ module() [2/2]

◆ modulize()

void coco::EntityBuilder::modulize ( Entity entity) const
inlineprotected

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