ONE - On-device Neural Engine
|
#include "exo/LoggingContext.h"
#include "exo/CircleExporter.h"
#include "mir2loco.h"
#include "ONNXImporterImpl.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) |
#define INFO | ( | name | ) | HERMES_INFO(name) |
Definition at line 75 of file onnx2circle.cpp.
#define LOGGER | ( | name | ) | ::Logger name { ::LoggingContext::get() } |
Definition at line 72 of file onnx2circle.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 77 of file onnx2circle.cpp.
References hermes::Context::config(), exo::CircleExporter::dumpToFile(), exo::LoggingContext::get(), INFO, mir_onnx::loadModel(), LOGGER, and mir2loco::Transformer::transform().