24.02.1
|
Output Accessor used for network validation. More...
#include <GraphUtils.h>
Public Member Functions | |
ValidationOutputAccessor (const std::string &image_list, std::ostream &output_stream=std::cout, unsigned int start=0, unsigned int end=0) | |
Default Constructor. More... | |
void | reset () |
Reset accessor state. More... | |
bool | access_tensor (ITensor &tensor) override |
Interface to be implemented to access a given tensor. More... | |
Public Member Functions inherited from ITensorAccessor | |
virtual | ~ITensorAccessor ()=default |
Default virtual destructor. More... | |
virtual bool | access_tensor_data () |
Returns true if the tensor data is being accessed. More... | |
Output Accessor used for network validation.
Definition at line 295 of file GraphUtils.h.
ValidationOutputAccessor | ( | const std::string & | image_list, |
std::ostream & | output_stream = std::cout , |
||
unsigned int | start = 0 , |
||
unsigned int | end = 0 |
||
) |
Default Constructor.
[in] | image_list | File containing all the images and labels results |
[out] | output_stream | (Optional) Output stream (Defaults to the standard output stream) |
[in] | start | (Optional) Start range |
[in] | end | (Optional) End range |
Definition at line 405 of file GraphUtils.cpp.
References ARM_COMPUTE_ERROR_VAR, ARM_COMPUTE_EXIT_ON_MSG, and arm_compute::mlgo::parser::end().
|
overridevirtual |
Interface to be implemented to access a given tensor.
[in] | tensor | Tensor to be accessed |
Implements ITensorAccessor.
Definition at line 448 of file GraphUtils.cpp.
References ARM_COMPUTE_ERROR, arm_compute::F16, arm_compute::F32, arm_compute::QASYMM8, and tensor.
void reset | ( | ) |
Reset accessor state.
Definition at line 441 of file GraphUtils.cpp.