diff options
author | Matteo Martincigh <matteo.martincigh@arm.com> | 2019-10-31 11:02:47 +0000 |
---|---|---|
committer | Matteo Martincigh <matteo.martincigh@arm.com> | 2019-11-01 08:34:47 +0000 |
commit | 9a5f9f2c3b6709003dfb935ecf65150145b9c73b (patch) | |
tree | 6b2fc6a19bf5b2961329798f9cb90f7c5167c784 /tests/InferenceTestImage.hpp | |
parent | 3c9b270064a1b62be3ab78bf7dc4f423366adb54 (diff) | |
download | armnn-9a5f9f2c3b6709003dfb935ecf65150145b9c73b.tar.gz |
GitHub #292 Build the ML-examples using only ArmNN's public frontend API
* Refactoring of some of the public API headers
Signed-off-by: Matteo Martincigh <matteo.martincigh@arm.com>
Change-Id: I9006fe49945b10a6b83908b05aa4a6556639b491
Diffstat (limited to 'tests/InferenceTestImage.hpp')
-rw-r--r-- | tests/InferenceTestImage.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/InferenceTestImage.hpp b/tests/InferenceTestImage.hpp index 643d060919..d15f263609 100644 --- a/tests/InferenceTestImage.hpp +++ b/tests/InferenceTestImage.hpp @@ -128,15 +128,15 @@ enum class ImageChannelLayout // and now lie in the range [0,1]. Channel data is stored according to the ArmNN layout (CHW). The order in which // channels appear in the resulting vector is defined by the provided layout. std::vector<float> GetImageDataInArmNnLayoutAsNormalizedFloats(ImageChannelLayout layout, - const InferenceTestImage& image); + const InferenceTestImage& image); // Reads the contents of an inference test image as 3-channel pixels, whose value is the result of subtracting the mean // from the values in the original image. Channel data is stored according to the ArmNN layout (CHW). The order in // which channels appear in the resulting vector is defined by the provided layout. The order of the channels of the // provided mean should also match the given layout. std::vector<float> GetImageDataInArmNnLayoutAsFloatsSubtractingMean(ImageChannelLayout layout, - const InferenceTestImage& image, - const std::array<float, 3>& mean); + const InferenceTestImage& image, + const std::array<float, 3>& mean); // Reads the contents of an inference test image as 3-channel pixels and returns the image data as normalized float // values. The returned image stay in the original order (HWC) order. The C order may be changed according to the |