From 2bbfaa784c0ea2e2b239470cfbe633026d53c9cb Mon Sep 17 00:00:00 2001 From: Ryan OShea Date: Wed, 12 Feb 2020 16:15:27 +0000 Subject: IVGCVSW-3726 Doxygen touch-up * Doxygen comment touch-ups * Fixed markup in .dox files * Fixed stylesheet * Doxyfile changes * Added logo file * Added header file Signed-off-by: Ryan OShea Change-Id: I94c7f5a6923a0bbb5c6ed610f1f55d57e2bb8a49 --- include/armnnUtils/DataLayoutIndexed.hpp | 12 ++++++------ include/armnnUtils/FloatingPointConverter.hpp | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'include/armnnUtils') diff --git a/include/armnnUtils/DataLayoutIndexed.hpp b/include/armnnUtils/DataLayoutIndexed.hpp index 03404bda5d..c6701f7d5c 100644 --- a/include/armnnUtils/DataLayoutIndexed.hpp +++ b/include/armnnUtils/DataLayoutIndexed.hpp @@ -13,7 +13,7 @@ namespace armnnUtils { -// Provides access to the appropriate indexes for Channels, Height and Width based on DataLayout +/// Provides access to the appropriate indexes for Channels, Height and Width based on DataLayout class DataLayoutIndexed { public: @@ -36,25 +36,25 @@ public: BOOST_ASSERT( widthIndex < shape[m_WidthIndex] || ( shape[m_WidthIndex] == 0 && widthIndex == 0) ); - // Offset the given indices appropriately depending on the data layout + /// Offset the given indices appropriately depending on the data layout switch (m_DataLayout) { case armnn::DataLayout::NHWC: batchIndex *= shape[1] * shape[2] * shape[3]; // batchIndex *= heightIndex * widthIndex * channelIndex heightIndex *= shape[m_WidthIndex] * shape[m_ChannelsIndex]; widthIndex *= shape[m_ChannelsIndex]; - // channelIndex stays unchanged + /// channelIndex stays unchanged break; case armnn::DataLayout::NCHW: default: batchIndex *= shape[1] * shape[2] * shape[3]; // batchIndex *= heightIndex * widthIndex * channelIndex channelIndex *= shape[m_HeightIndex] * shape[m_WidthIndex]; heightIndex *= shape[m_WidthIndex]; - // widthIndex stays unchanged + /// widthIndex stays unchanged break; } - // Get the value using the correct offset + /// Get the value using the correct offset return batchIndex + channelIndex + heightIndex + widthIndex; } @@ -65,7 +65,7 @@ private: unsigned int m_WidthIndex; }; -// Equality methods +/// Equality methods bool operator==(const armnn::DataLayout& dataLayout, const DataLayoutIndexed& indexed); bool operator==(const DataLayoutIndexed& indexed, const armnn::DataLayout& dataLayout); diff --git a/include/armnnUtils/FloatingPointConverter.hpp b/include/armnnUtils/FloatingPointConverter.hpp index a2244735dc..68c24cdc6e 100644 --- a/include/armnnUtils/FloatingPointConverter.hpp +++ b/include/armnnUtils/FloatingPointConverter.hpp @@ -13,8 +13,8 @@ namespace armnnUtils class FloatingPointConverter { public: - // Converts a buffer of FP32 values to FP16, and stores in the given dstFloat16Buffer. - // dstFloat16Buffer should be (numElements * 2) in size + /// Converts a buffer of FP32 values to FP16, and stores in the given dstFloat16Buffer. + /// dstFloat16Buffer should be (numElements * 2) in size static void ConvertFloat32To16(const float *srcFloat32Buffer, size_t numElements, void *dstFloat16Buffer); static void ConvertFloat16To32(const void *srcFloat16Buffer, size_t numElements, float *dstFloat32Buffer); -- cgit v1.2.1