24.02.1
|
PPM writer class. More...
#include <GraphUtils.h>
Public Member Functions | |
PPMWriter (std::string name, unsigned int maximum=1) | |
Constructor. More... | |
PPMWriter (PPMWriter &&)=default | |
Allows instances to move constructed. 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... | |
PPM writer class.
Definition at line 104 of file GraphUtils.h.
PPMWriter | ( | std::string | name, |
unsigned int | maximum = 1 |
||
) |
Constructor.
[in] | name | PPM file name |
[in] | maximum | Maximum elements to access |
Definition at line 145 of file GraphUtils.cpp.
|
overridevirtual |
Interface to be implemented to access a given tensor.
[in] | tensor | Tensor to be accessed |
Implements ITensorAccessor.
Definition at line 149 of file GraphUtils.cpp.
References arm_compute::utils::save_to_ppm(), arm_compute::test::validation::ss(), and tensor.