ONE - On-device Neural Engine
Loading...
Searching...
No Matches
enco::Bundle Class Reference

#include <Bundle.h>

Public Member Functions

 Bundle ()=default
 
coco::Modulemodule (void) const
 
void module (std::unique_ptr< coco::Module > &&m)
 
coco::Datadata (void) const
 
void data (std::unique_ptr< coco::Data > &&d)
 

Detailed Description

Definition at line 28 of file Bundle.h.

Constructor & Destructor Documentation

◆ Bundle()

enco::Bundle::Bundle ( )
default

Member Function Documentation

◆ data() [1/2]

void enco::Bundle::data ( std::unique_ptr< coco::Data > &&  d)
inline

Definition at line 39 of file Bundle.h.

39{ _d = std::move(d); }

◆ data() [2/2]

coco::Data * enco::Bundle::data ( void  ) const
inline

Definition at line 38 of file Bundle.h.

38{ return _d.get(); }

Referenced by Frontend::load().

◆ module() [1/2]

void enco::Bundle::module ( std::unique_ptr< coco::Module > &&  m)
inline

Definition at line 35 of file Bundle.h.

35{ _m = std::move(m); }

References m.

◆ module() [2/2]

coco::Module * enco::Bundle::module ( void  ) const
inline

Definition at line 34 of file Bundle.h.

34{ return _m.get(); }

Referenced by Frontend::load().


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