ONE - On-device Neural Engine
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
onert::exec::ExecutionOptions Struct Reference

#include <ExecutionContext.h>

Static Public Member Functions

static void fromGlobalConfig (ExecutionOptions &options)
 

Data Fields

bool dump_minmax = false
 
bool trace = false
 
bool profile = false
 

Detailed Description

Definition at line 64 of file ExecutionContext.h.

Member Function Documentation

◆ fromGlobalConfig()

void onert::exec::ExecutionOptions::fromGlobalConfig ( ExecutionOptions options)
static

Definition at line 24 of file ExecutionContext.cc.

25{
26 options.dump_minmax = util::getConfigBool(util::config::MINMAX_DUMP);
27 options.trace = util::getConfigBool(util::config::TRACING_MODE);
28 options.profile = util::getConfigBool(util::config::PROFILING_MODE);
29}
bool getConfigBool(const std::string &key)

References onert::util::getConfigBool().

Referenced by onert::exec::Execution::Execution().

Field Documentation

◆ dump_minmax

bool onert::exec::ExecutionOptions::dump_minmax = false

Definition at line 66 of file ExecutionContext.h.

◆ profile

bool onert::exec::ExecutionOptions::profile = false

Definition at line 68 of file ExecutionContext.h.

◆ trace

bool onert::exec::ExecutionOptions::trace = false

Definition at line 67 of file ExecutionContext.h.


The documentation for this struct was generated from the following files: