Compute Library
 21.08
CommonGraphParams Struct Reference

Structure holding all the common graph parameters. More...

#include <CommonGraphOptions.h>

Collaboration diagram for CommonGraphParams:
[legend]

Data Fields

bool help { false }
 
int threads { 0 }
 
int batches { 1 }
 
arm_compute::graph::Target target { arm_compute::graph::Target::NEON }
 
arm_compute::DataType data_type { DataType::F32 }
 
arm_compute::DataLayout data_layout { DataLayout::NHWC }
 
bool enable_tuner { false }
 
bool enable_cl_cache { false }
 
arm_compute::CLTunerMode tuner_mode { CLTunerMode::NORMAL }
 
arm_compute::graph::FastMathHint fast_math_hint { arm_compute::graph::FastMathHint::Disabled }
 
std::string data_path {}
 
std::string image {}
 
std::string labels {}
 
std::string validation_file {}
 
std::string validation_path {}
 
std::string tuner_file {}
 
std::string mlgo_file {}
 
unsigned int validation_range_start { 0 }
 
unsigned int validation_range_end { std::numeric_limits<unsigned int>::max() }
 

Detailed Description

Structure holding all the common graph parameters.

Definition at line 93 of file CommonGraphOptions.h.

Field Documentation

◆ batches

int batches { 1 }

Definition at line 97 of file CommonGraphOptions.h.

◆ data_layout

◆ data_path

std::string data_path {}

Definition at line 105 of file CommonGraphOptions.h.

Referenced by arm_compute::utils::operator<<(), and GraphEdsr::setup().

◆ data_type

◆ enable_cl_cache

bool enable_cl_cache { false }

Definition at line 102 of file CommonGraphOptions.h.

Referenced by arm_compute::utils::operator<<().

◆ enable_tuner

bool enable_tuner { false }

Definition at line 101 of file CommonGraphOptions.h.

Referenced by arm_compute::utils::operator<<().

◆ fast_math_hint

◆ help

bool help { false }

◆ image

std::string image {}

◆ labels

◆ mlgo_file

std::string mlgo_file {}

Definition at line 111 of file CommonGraphOptions.h.

Referenced by arm_compute::utils::operator<<().

◆ target

◆ threads

int threads { 0 }

Definition at line 96 of file CommonGraphOptions.h.

Referenced by arm_compute::utils::operator<<().

◆ tuner_file

std::string tuner_file {}

Definition at line 110 of file CommonGraphOptions.h.

Referenced by arm_compute::utils::operator<<().

◆ tuner_mode

◆ validation_file

◆ validation_path

std::string validation_path {}

◆ validation_range_end

◆ validation_range_start


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