ONE - On-device Neural Engine
Loading...
Searching...
No Matches
tf2circle.cpp File Reference
#include "CustomopConfLoader.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 <cassert>
#include <memory>
#include <iostream>
#include <stdexcept>
#include <string>

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 90 of file tf2circle.cpp.

◆ LOGGER

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

Definition at line 87 of file tf2circle.cpp.

88 { ::LoggingContext::get() }

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 206 of file tf2circle.cpp.

207{
208 // TODO Add "signal" handler here
209
210 try
211 {
212 EntryFunctor entry;
213 return entry(argc, argv);
214 }
215 catch (...)
216 {
217 // Catch all the exception and print the default error message.
218 internal_error();
219 }
220
221 // EX_SOFTWARE defined in "sysexits.h"
222 return 70;
223}
int entry(const int argc, char **argv)
Definition Driver.cpp:53

References entry().