ONE - On-device Neural Engine
Loading...
Searching...
No Matches
Main.cpp File Reference
#include "EncodeCommand.hpp"
#include "DecodeCommand.hpp"
#include "UnpackCommand.hpp"
#include "PackCommand.hpp"
#include "ConvertCommand.hpp"
#include <cli/App.h>
#include <memory>

Go to the source code of this file.

Functions

int main (int argc, char **argv)
 

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 27 of file Main.cpp.

28{
29 cli::App app{argv[0]};
30
31 app.insert("encode", std::make_unique<tfkit::EncodeCommand>());
32 app.insert("decode", std::make_unique<tfkit::DecodeCommand>());
33 app.insert("unpack", std::make_unique<tfkit::UnpackCommand>());
34 app.insert("pack", std::make_unique<tfkit::PackCommand>());
35 app.insert("convert", std::make_unique<tfkit::ConvertCommand>());
36
37 return app.run(argc - 1, argv + 1);
38}
Definition App.h:30