ONE - On-device Neural Engine
|
#include <TFLExporter.h>
Data Structures | |
class | Impl |
Public Member Functions | |
TFLExporter (loco::Graph *graph) | |
~TFLExporter () | |
void | dumpToFile (const char *path) const |
write to a file | |
HOW TO USE:
loco::Graph *g = ...;
TFLExporter e(g); e.dumpToFile("model.tflite");
HOW TO USE (simplified):
TFLExporter(g).dumpToFile("model.tflite");
Definition at line 40 of file TFLExporter.h.
|
explicit |
Definition at line 29 of file TFLExporter.cpp.
|
default |
void exo::TFLExporter::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 TFLExporter.cpp.
References INTERNAL_EXN, and size.
Referenced by main().