24.04
|
TF preproccessor. More...
#include <GraphUtils.h>
Public Member Functions | |
TFPreproccessor (float min_range=-1.f, float max_range=1.f) | |
Constructor. More... | |
void | preprocess (ITensor &tensor) override |
Preprocess the given tensor. More... | |
Public Member Functions inherited from IPreprocessor | |
virtual | ~IPreprocessor ()=default |
Default destructor. More... | |
TF preproccessor.
Definition at line 82 of file GraphUtils.h.
TFPreproccessor | ( | float | min_range = -1.f , |
float | max_range = 1.f |
||
) |
Constructor.
[in] | min_range | Min normalization range. (Defaults to -1.f) |
[in] | max_range | Max normalization range. (Defaults to 1.f) |
Definition at line 68 of file GraphUtils.cpp.
|
overridevirtual |
Preprocess the given tensor.
[in] | tensor | Tensor to preprocess. |
Implements IPreprocessor.
Definition at line 71 of file GraphUtils.cpp.
References ARM_COMPUTE_ERROR, arm_compute::F16, arm_compute::F32, and tensor.