23.05
|
Abstract ValidateExample class. More...
#include <ValidateExample.h>
Public Member Functions | |
virtual bool | do_setup (int argc, char **argv) |
Setup the example. More... | |
virtual void | do_run () |
Run the example. More... | |
virtual void | do_validate () |
Run reference implementation and validate against the target output. More... | |
virtual void | do_teardown () |
Teardown the example. More... | |
virtual void | print_parameters (test::framework::Printer &printer) |
Print the example parameters. More... | |
virtual | ~ValidateExample ()=default |
Default destructor. More... | |
Abstract ValidateExample class.
All examples with a validation stage have to inherit from this class.
Definition at line 43 of file ValidateExample.h.
|
virtualdefault |
Default destructor.
|
inlinevirtual |
Run the example.
Reimplemented in GraphValidateExample< LayerT, OptionsT, VerifyAccessorT >, GraphValidateExample< FullyConnectedLayer, FullyConnectedOptions, FullyConnectedVerifyAccessor >, GraphValidateExample< ConvolutionLayer, ConvolutionOptions, ConvolutionVerifyAccessor >, and GraphValidateExample< DepthwiseConvolutionLayer, DepthConvolutionOptions, DepthConvolutionVerifyAccessor >.
Definition at line 57 of file ValidateExample.h.
|
inlinevirtual |
Setup the example.
[in] | argc | Argument count. |
[in] | argv | Argument values. |
Reimplemented in GraphValidateExample< LayerT, OptionsT, VerifyAccessorT >, GraphValidateExample< FullyConnectedLayer, FullyConnectedOptions, FullyConnectedVerifyAccessor >, GraphValidateExample< ConvolutionLayer, ConvolutionOptions, ConvolutionVerifyAccessor >, and GraphValidateExample< DepthwiseConvolutionLayer, DepthConvolutionOptions, DepthConvolutionVerifyAccessor >.
Definition at line 51 of file ValidateExample.h.
References ARM_COMPUTE_UNUSED.
|
inlinevirtual |
Teardown the example.
Reimplemented in GraphValidateExample< LayerT, OptionsT, VerifyAccessorT >, GraphValidateExample< FullyConnectedLayer, FullyConnectedOptions, FullyConnectedVerifyAccessor >, GraphValidateExample< ConvolutionLayer, ConvolutionOptions, ConvolutionVerifyAccessor >, and GraphValidateExample< DepthwiseConvolutionLayer, DepthConvolutionOptions, DepthConvolutionVerifyAccessor >.
Definition at line 64 of file ValidateExample.h.
|
inlinevirtual |
Run reference implementation and validate against the target output.
Definition at line 60 of file ValidateExample.h.
|
inlinevirtual |
Print the example parameters.
[in,out] | printer | Printer to use to print the parameters |
Definition at line 69 of file ValidateExample.h.
References ARM_COMPUTE_UNUSED, and arm_compute::utils::run_example().