ONE - On-device Neural Engine
Loading...
Searching...
No Matches
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 66 of file ExecutionContext.h.

Member Function Documentation

◆ fromGlobalConfig()

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

Definition at line 26 of file ExecutionContext.cc.

27{
28 options.dump_minmax = util::getConfigBool(util::config::MINMAX_DUMP);
29 options.trace = util::getConfigBool(util::config::TRACING_MODE);
30 options.profile = util::getConfigBool(util::config::PROFILING_MODE);
31}
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 68 of file ExecutionContext.h.

◆ profile

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

Definition at line 70 of file ExecutionContext.h.

◆ trace

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

Definition at line 69 of file ExecutionContext.h.


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