ONE - On-device Neural Engine
Loading...
Searching...
No Matches
tf2nnpkg.cpp File Reference
#include "filesystem.h"
#include <moco/LoggingContext.h>
#include <moco/tf/Frontend.h>
#include <exo/LoggingContext.h>
#include <exo/CircleExporter.h>
#include <nnkit/support/tftestinfo/TensorInfoParser.h>
#include <locop/FormattedGraph.h>
#include <hermes/ConsoleReporter.h>
#include <hermes/EnvConfig.h>
#include <memory>
#include <iostream>
#include <fstream>
#include <functional>
#include <stdexcept>
#include <string>
#include <vector>

Go to the source code of this file.

Macros

#define LOGGER(name)    ::Logger name { ::LoggingContext::get() }
 
#define INFO(name)   HERMES_INFO(name)
 

Functions

int main (int argc, char **argv)
 

Macro Definition Documentation

◆ INFO

#define INFO (   name)    HERMES_INFO(name)

Definition at line 94 of file tf2nnpkg.cpp.

◆ LOGGER

#define LOGGER (   name)     ::Logger name { ::LoggingContext::get() }

Definition at line 91 of file tf2nnpkg.cpp.

92 { ::LoggingContext::get() }

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 282 of file tf2nnpkg.cpp.

283{
284 // TODO Add "signal" handler here
285
286 try
287 {
288 EntryFunctor entry;
289 return entry(argc, argv);
290 }
291 catch (...)
292 {
293 // Catch all the exception and print the default error message.
294 internal_error();
295 }
296
297 // EX_SOFTWARE defined in "sysexits.h"
298 return 70;
299}
int entry(const int argc, char **argv)
Definition Driver.cpp:53

References entry().