ONE - On-device Neural Engine
Loading...
Searching...
No Matches
onert::ir::ExternalData Class Reference

#include <Data.h>

Collaboration diagram for onert::ir::ExternalData:

Public Member Functions

 ExternalData (const uint8_t *base, size_t size)
 
size_t size (void) const override
 
const uint8_t * base (void) const override
 
- Public Member Functions inherited from onert::ir::Data
virtual ~Data ()=default
 

Detailed Description

Definition at line 56 of file Data.h.

Constructor & Destructor Documentation

◆ ExternalData()

onert::ir::ExternalData::ExternalData ( const uint8_t *  base,
size_t  size 
)
inline

Definition at line 59 of file Data.h.

59 : _base{base}, _size{size}
60 {
61 // DO NOTHING
62 }
const uint8_t * base(void) const override
Definition Data.h:66
size_t size(void) const override
Definition Data.h:65

Member Function Documentation

◆ base()

const uint8_t * onert::ir::ExternalData::base ( void  ) const
inlineoverridevirtual

Implements onert::ir::Data.

Reimplemented in onert::ir::MMapedData.

Definition at line 66 of file Data.h.

66{ return _base; }

◆ size()

size_t onert::ir::ExternalData::size ( void  ) const
inlineoverridevirtual

Implements onert::ir::Data.

Definition at line 65 of file Data.h.

65{ return _size; }

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