ONE - On-device Neural Engine
Loading...
Searching...
No Matches
exo::CircleExporter::Impl Class Reference

#include <CircleExporterImpl.h>

Public Member Functions

 Impl ()=delete
 
 ~Impl ()=default
 
 Impl (loco::Graph *graph)
 
const char * getBufferPointer () const
 
size_t getBufferSize () const
 

Detailed Description

internal implementation of interface exporter class

Definition at line 40 of file CircleExporterImpl.h.

Constructor & Destructor Documentation

◆ Impl() [1/2]

exo::CircleExporter::Impl::Impl ( )
delete

◆ ~Impl()

exo::CircleExporter::Impl::~Impl ( )
default

◆ Impl() [2/2]

exo::CircleExporter::Impl::Impl ( loco::Graph graph)
explicit

Definition at line 106 of file CircleExporterImpl.cpp.

106{ exportGraph(graph); }

Member Function Documentation

◆ getBufferPointer()

const char * exo::CircleExporter::Impl::getBufferPointer ( ) const
Returns
pointer to buffer with serialized graph

Definition at line 174 of file CircleExporterImpl.cpp.

175{
176 return reinterpret_cast<const char *>(_builder.GetBufferPointer());
177}
uint8_t * GetBufferPointer() const
Get the serialized buffer (after you call Finish()).

◆ getBufferSize()

size_t exo::CircleExporter::Impl::getBufferSize ( ) const
Returns
size of buffer with serialized graph

Definition at line 179 of file CircleExporterImpl.cpp.

179{ return _builder.GetSize(); }
uoffset_t GetSize() const
The current size of the serialized buffer, counting from the end.

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