23.05
|
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 arm_compute::graph::CL, arm_compute::test::validation::data_type, arm_compute::F16, arm_compute::F32, GemmTuner::help, arm_compute::graph::NEON, GemmTuner::parser, arm_compute::QASYMM8, and Option::set_help().
|
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 VerificationParams::absolute_tolerance, CommonParams::common_params, FrameworkParams::help, GemmTuner::help, VerificationParams::relative_tolerance, FrameworkParams::target, FrameworkParams::threads, VerificationParams::tolerance_number, and CommonParams::verification.
|
delete |
Prevent instances of this class from being copied (As this class contains pointers)
|
defaultnoexcept |
Allow instances of this class to be moved.
|
inlinevirtual |
Formatted output of the ExampleParams type.
[out] | os | Output stream. |
[in] | common_params | Example parameters to output |
Definition at line 292 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 303 of file graph_validate_utils.h.
Referenced by arm_compute::utils::consume_common_graph_parameters().
EnumOption<arm_compute::DataType>* data_type |
Graph data type.
Definition at line 302 of file graph_validate_utils.h.
ToggleOption* help |
show help message
Definition at line 299 of file graph_validate_utils.h.
Referenced by arm_compute::utils::consume_common_graph_parameters().
SimpleOption<float>* relative_tolerance |
Relative tolerance used in verification.
Definition at line 304 of file graph_validate_utils.h.
Referenced by arm_compute::utils::consume_common_graph_parameters().
EnumOption<arm_compute::graph::Target>* target |
Graph execution target.
Definition at line 301 of file graph_validate_utils.h.
Referenced by arm_compute::utils::consume_common_graph_parameters().
SimpleOption<int>* threads |
Number of threads option.
Definition at line 300 of file graph_validate_utils.h.
Referenced by arm_compute::utils::consume_common_graph_parameters().
SimpleOption<float>* tolerance_number |
Tolerance number used in verification.
Definition at line 305 of file graph_validate_utils.h.
Referenced by arm_compute::utils::consume_common_graph_parameters().