24.02.1
|
CommonGraphValidateOptions command line options used to configure the graph examples. More...
#include <graph_validate_utils.h>
Public Member Functions | |
CommonGraphValidateOptions (CommandLineParser &parser) noexcept | |
CommonGraphValidateOptions (const CommonGraphValidateOptions &)=delete | |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
CommonGraphValidateOptions & | operator= (const CommonGraphValidateOptions &)=delete |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
CommonGraphValidateOptions (CommonGraphValidateOptions &&) noexcept(true)=default | |
Allow instances of this class to be moved. More... | |
CommonGraphValidateOptions & | operator= (CommonGraphValidateOptions &&) noexcept(true)=default |
Allow instances of this class to be moved. More... | |
virtual | ~CommonGraphValidateOptions ()=default |
Default destructor. More... | |
void | consume_common_parameters (CommonParams &common_params) |
virtual void | print_parameters (::std::ostream &os, const ExampleParams &common_params) |
Formatted output of the ExampleParams type. More... | |
Data Fields | |
ToggleOption * | help |
show help message More... | |
SimpleOption< int > * | threads |
Number of threads option. More... | |
EnumOption< arm_compute::graph::Target > * | target |
Graph execution target. More... | |
EnumOption< arm_compute::DataType > * | data_type |
Graph data type. More... | |
SimpleOption< float > * | absolute_tolerance |
Absolute tolerance used in verification. More... | |
SimpleOption< float > * | relative_tolerance |
Relative tolerance used in verification. More... | |
SimpleOption< float > * | tolerance_number |
Tolerance number used in verification. More... | |
CommonGraphValidateOptions command line options used to configure the graph examples.
(Similar to common options) The options in this object get populated when "parse()" is called on the parser used to construct it. The expected workflow is:
CommandLineParser parser; CommonOptions options( parser ); parser.parse(argc, argv);
Definition at line 227 of file graph_validate_utils.h.
|
inlineexplicitnoexcept |
Definition at line 230 of file graph_validate_utils.h.
References CommonGraphValidateOptions::absolute_tolerance, arm_compute::graph::CL, CommonGraphValidateOptions::data_type, arm_compute::F16, arm_compute::F32, CommonGraphValidateOptions::help, arm_compute::graph::NEON, GemmTuner::parser, arm_compute::QASYMM8, CommonGraphValidateOptions::relative_tolerance, Option::set_help(), CommonGraphValidateOptions::target, and CommonGraphValidateOptions::tolerance_number.
|
delete |
Prevent instances of this class from being copied (As this class contains pointers)
|
defaultnoexcept |
Allow instances of this class to be moved.
|
virtualdefault |
Default destructor.
|
inline |
Definition at line 274 of file graph_validate_utils.h.
References CommonGraphValidateOptions::absolute_tolerance, CommonGraphValidateOptions::help, Option::is_set(), CommonGraphValidateOptions::relative_tolerance, CommonGraphValidateOptions::target, CommonGraphValidateOptions::threads, CommonGraphValidateOptions::tolerance_number, EnumOption< T >::value(), and SimpleOption< T >::value().
|
defaultnoexcept |
Allow instances of this class to be moved.
|
delete |
Prevent instances of this class from being copied (As this class contains pointers)
|
inlinevirtual |
Formatted output of the ExampleParams type.
[out] | os | Output stream. |
[in] | common_params | Example parameters to output |
Definition at line 291 of file graph_validate_utils.h.
References CommonParams::common_params, CommonParams::data_type, FrameworkParams::target, and FrameworkParams::threads.
SimpleOption<float>* absolute_tolerance |
Absolute tolerance used in verification.
Definition at line 302 of file graph_validate_utils.h.
Referenced by CommonGraphValidateOptions::CommonGraphValidateOptions(), arm_compute::utils::consume_common_graph_parameters(), and CommonGraphValidateOptions::consume_common_parameters().
EnumOption<arm_compute::DataType>* data_type |
Graph data type.
Definition at line 301 of file graph_validate_utils.h.
Referenced by CommonGraphValidateOptions::CommonGraphValidateOptions().
ToggleOption* help |
show help message
Definition at line 298 of file graph_validate_utils.h.
Referenced by CommonGraphValidateOptions::CommonGraphValidateOptions(), arm_compute::utils::consume_common_graph_parameters(), and CommonGraphValidateOptions::consume_common_parameters().
SimpleOption<float>* relative_tolerance |
Relative tolerance used in verification.
Definition at line 303 of file graph_validate_utils.h.
Referenced by CommonGraphValidateOptions::CommonGraphValidateOptions(), arm_compute::utils::consume_common_graph_parameters(), and CommonGraphValidateOptions::consume_common_parameters().
EnumOption<arm_compute::graph::Target>* target |
Graph execution target.
Definition at line 300 of file graph_validate_utils.h.
Referenced by CommonGraphValidateOptions::CommonGraphValidateOptions(), arm_compute::utils::consume_common_graph_parameters(), and CommonGraphValidateOptions::consume_common_parameters().
SimpleOption<int>* threads |
Number of threads option.
Definition at line 299 of file graph_validate_utils.h.
Referenced by arm_compute::utils::consume_common_graph_parameters(), and CommonGraphValidateOptions::consume_common_parameters().
SimpleOption<float>* tolerance_number |
Tolerance number used in verification.
Definition at line 304 of file graph_validate_utils.h.
Referenced by CommonGraphValidateOptions::CommonGraphValidateOptions(), arm_compute::utils::consume_common_graph_parameters(), and CommonGraphValidateOptions::consume_common_parameters().