24.02.1
|
Go to the documentation of this file.
24 #ifndef ARM_COMPUTE_EXAMPLES_UTILS_COMMON_GRAPH_OPTIONS
25 #define ARM_COMPUTE_EXAMPLES_UTILS_COMMON_GRAPH_OPTIONS
123 ::std::ostream &
operator<<(::std::ostream &os,
const CommonGraphParams &common_params);
ToggleOption * help
Show help option.
DataLayout
[DataLayout enum definition]
~CommonGraphOptions()=default
Default destructor.
@ NHWC
Num samples, height, width, channels.
CommonGraphOptions & operator=(const CommonGraphOptions &)=delete
Prevent instances of this class from being copied (As this class contains pointers)
arm_compute::CLTunerMode tuner_mode
@ NEON
Arm® Neon™ capable target device.
CommonGraphOptions(CommandLineParser &parser)
Constructor.
unsigned int validation_range_end
SimpleOption< std::string > * labels
Labels.
ToggleOption * enable_tuner
Enable tuner.
unsigned int validation_range_start
ToggleOption * fast_math_hint
Fast math hint.
SimpleOption< int > * threads
Number of threads option.
SimpleOption< std::string > * mlgo_file
File to load the MLGO heuristics from.
arm_compute::graph::Target target
SimpleOption< arm_compute::CLTunerMode > * tuner_mode
Tuner mode.
ToggleOption * enable_cl_cache
Enable opencl kernels cache.
SimpleOption< std::string > * image
Image.
@ NORMAL
Searches a subset of LWS configurations while tuning.
arm_compute::DataLayout data_layout
Class to parse command line arguments.
Common command line options used to configure the graph examples.
EnumOption< arm_compute::DataType > * data_type
Graph data type.
Implementation of an option that can be either true or false.
@ Disabled
Fast math disabled for Convolution layer.
void consume_common_graph_parameters(CommonGraphValidateOptions &options, CommonParams &common_params)
Consumes the consume_common_graph_parameters graph options and creates a structure containing any inf...
SimpleOption< std::string > * tuner_file
File to load/store the tuner's values from.
SimpleOption< int > * batches
Number of batches.
std::string validation_file
EnumOption< arm_compute::graph::Target > * target
Graph execution target.
inline ::std::ostream & operator<<(::std::ostream &os, ConvolutionPaddingMode Mode)
Formatted output of the ConvolutionPaddingMode type.
FastMathHint
Enable or disable fast math for Convolution layer.
Copyright (c) 2017-2024 Arm Limited.
SimpleOption< std::string > * validation_path
Validation data path.
CLTunerMode
< OpenCL tuner modes
arm_compute::graph::FastMathHint fast_math_hint
arm_compute::DataType data_type
@ F32
32-bit floating-point number
SimpleOption< std::string > * data_path
Trainable parameters path.
SimpleOption< std::string > * validation_file
Validation file.
Structure holding all the common graph parameters.
EnumOption< arm_compute::DataLayout > * data_layout
Graph data layout.
SimpleOption< std::string > * validation_range
Validation range.
DataType
Available data types.
std::string validation_path