ONE - On-device Neural Engine
|
#include <CompilerOptions.h>
Public Member Functions | |
void | forceInternalOptions () |
Force default values of CompilerOptions for correct compilations. | |
void | verboseOptions () |
Print option value. | |
Static Public Member Functions | |
static std::unique_ptr< CompilerOptions > | fromGlobalConfig () |
Set default values for CompilerOptions. | |
Data Fields | |
std::vector< std::string > | backend_list |
int | graph_dump_level |
std::string | executor |
ManualSchedulerOptions | manual_scheduler_options |
bool | he_scheduler |
bool | he_profiling_mode |
bool | fp16_enable |
std::string | workspace_dir |
Definition at line 42 of file CompilerOptions.h.
void onert::compiler::CompilerOptions::forceInternalOptions | ( | ) |
Force default values of CompilerOptions for correct compilations.
Definition at line 113 of file CompilerOptions.cc.
References onert::backend::builtin::Config::ID, manual_scheduler_options, and onert::compiler::ManualSchedulerOptions::opcode_to_backend.
Referenced by onert::compiler::Compiler::compile(), onert::compiler::MultiModelCompiler::compile(), and onert::compiler::train::TrainingCompiler::compile().
|
static |
Set default values for CompilerOptions.
Definition at line 77 of file CompilerOptions.cc.
References onert::util::getConfigBool(), onert::util::getConfigInt(), onert::util::getConfigString(), and nnfw::misc::split().
void onert::compiler::CompilerOptions::verboseOptions | ( | ) |
Print option value.
Definition at line 129 of file CompilerOptions.cc.
References onert::compiler::ManualSchedulerOptions::backend_for_all, backend_list, executor, fp16_enable, graph_dump_level, he_profiling_mode, he_scheduler, nnfw::misc::join(), manual_scheduler_options, onert::compiler::ManualSchedulerOptions::opcode_to_backend, and VERBOSE.
Referenced by onert::compiler::Compiler::compile(), onert::compiler::MultiModelCompiler::compile(), and onert::compiler::train::TrainingCompiler::compile().
std::vector<std::string> onert::compiler::CompilerOptions::backend_list |
Definition at line 67 of file CompilerOptions.h.
Referenced by onert::compiler::ManualScheduler::schedule(), and verboseOptions().
std::string onert::compiler::CompilerOptions::executor |
Definition at line 71 of file CompilerOptions.h.
Referenced by onert::compiler::Compiler::compile(), onert::compiler::train::TrainingCompiler::compile(), and verboseOptions().
bool onert::compiler::CompilerOptions::fp16_enable |
Definition at line 75 of file CompilerOptions.h.
Referenced by verboseOptions().
int onert::compiler::CompilerOptions::graph_dump_level |
Definition at line 70 of file CompilerOptions.h.
Referenced by onert::compiler::Compiler::compile(), onert::compiler::MultiModelCompiler::compile(), onert::compiler::train::TrainingCompiler::compile(), and verboseOptions().
bool onert::compiler::CompilerOptions::he_profiling_mode |
Definition at line 74 of file CompilerOptions.h.
Referenced by onert::compiler::Compiler::compile(), onert::compiler::MultiModelCompiler::compile(), onert::compiler::train::TrainingCompiler::compile(), and verboseOptions().
bool onert::compiler::CompilerOptions::he_scheduler |
Definition at line 73 of file CompilerOptions.h.
Referenced by onert::compiler::Compiler::compile(), onert::compiler::train::TrainingCompiler::compile(), and verboseOptions().
ManualSchedulerOptions onert::compiler::CompilerOptions::manual_scheduler_options |
Definition at line 72 of file CompilerOptions.h.
Referenced by forceInternalOptions(), onert::compiler::ManualScheduler::schedule(), and verboseOptions().
std::string onert::compiler::CompilerOptions::workspace_dir |
Definition at line 76 of file CompilerOptions.h.