aboutsummaryrefslogtreecommitdiff
path: root/src/armnn/backends/RefWorkloads/Splitter.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/armnn/backends/RefWorkloads/Splitter.hpp')
-rw-r--r--src/armnn/backends/RefWorkloads/Splitter.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/armnn/backends/RefWorkloads/Splitter.hpp b/src/armnn/backends/RefWorkloads/Splitter.hpp
index bd5da6cfe2..c12d9368bf 100644
--- a/src/armnn/backends/RefWorkloads/Splitter.hpp
+++ b/src/armnn/backends/RefWorkloads/Splitter.hpp
@@ -31,7 +31,7 @@ void Splitter(const SplitterQueueDescriptor& data)
for (unsigned int i = 0; i<inputInfo0.GetNumDimensions(); i++)
{
dimensionStride /= inputInfo0.GetShape()[i];
- indices[i] = indexRemainder / dimensionStride; // use integer division to round down
+ indices[i] = indexRemainder / dimensionStride; // Use integer division to round down.
indexRemainder -= indices[i] * dimensionStride;
}
@@ -39,11 +39,11 @@ void Splitter(const SplitterQueueDescriptor& data)
{
SplitterQueueDescriptor::ViewOrigin const& view = data.m_ViewOrigins[viewIdx];
- //split view extents are defined by the size of (the corresponding) input tensor
+ //Split view extents are defined by the size of (the corresponding) input tensor.
const TensorInfo& outputInfo = GetTensorInfo(data.m_Outputs[viewIdx]);
BOOST_ASSERT(outputInfo.GetNumDimensions() == inputInfo0.GetNumDimensions());
- // check all dimensions to see if this element is inside the given input view
+ // Check all dimensions to see if this element is inside the given input view.
bool insideView = true;
for (unsigned int i = 0; i<outputInfo.GetNumDimensions(); i++)
{
@@ -68,7 +68,7 @@ void Splitter(const SplitterQueueDescriptor& data)
dimensionStride *= outputInfo.GetShape()[i];
}
- //we are within the view, copy input data to the output corresponding to this view
+ //We are within the view, to copy input data to the output corresponding to this view.
DataType* outputData = GetOutputTensorData<DataType>(viewIdx, data);
BOOST_ASSERT(outputData);