ONE - On-device Neural Engine
|
#include <CircleExporter.h>
Data Structures | |
class | Impl |
Public Member Functions | |
CircleExporter (loco::Graph *graph) | |
~CircleExporter () | |
void | dumpToFile (const char *path) const |
write to a file | |
HOW TO USE:
loco::Graph *g = ...;
CircleExporter e(g); e.dumpToFile("model.circle");
HOW TO USE (simplified):
CircleExporter(g).dumpToFile("model.circle");
Definition at line 40 of file CircleExporter.h.
|
explicit |
Definition at line 29 of file CircleExporter.cpp.
|
default |
void exo::CircleExporter::dumpToFile | ( | const char * | path | ) | const |
write to a file
path | path to file where to write data |
any | file related exceptions |
Definition at line 36 of file CircleExporter.cpp.
References INTERNAL_EXN, and size.