From 8efb48a6847c5cd166c561127ae6611150963ce3 Mon Sep 17 00:00:00 2001 From: Nikhil Raj Date: Fri, 19 May 2023 11:14:28 +0100 Subject: Update Doxygen docu for 23.05 Signed-off-by: Nikhil Raj Change-Id: I0a992286f14fa68fcc6e5eba31ac39fed003cbbe --- 23.05/_fill_8cpp_source.xhtml | 148 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 148 insertions(+) create mode 100644 23.05/_fill_8cpp_source.xhtml (limited to '23.05/_fill_8cpp_source.xhtml') diff --git a/23.05/_fill_8cpp_source.xhtml b/23.05/_fill_8cpp_source.xhtml new file mode 100644 index 0000000000..71318ae160 --- /dev/null +++ b/23.05/_fill_8cpp_source.xhtml @@ -0,0 +1,148 @@ + + + + + + + + + + + + + +ArmNN: src/backends/reference/workloads/Fill.cpp Source File + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  23.05 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Fill.cpp
+
+
+Go to the documentation of this file.
1 //
+
2 // Copyright © 2020 Arm Ltd and Contributors. All rights reserved.
+
3 // SPDX-License-Identifier: MIT
+
4 //
+
5 
+
6 #include "Fill.hpp"
+
7 
+
8 #include "RefWorkloadUtils.hpp"
+
9 
+
10 namespace armnn
+
11 {
+
12 
+
13 void Fill(Encoder<float>& output,
+
14  const TensorShape& desiredOutputShape,
+
15  const float value)
+
16 {
+
17  for(unsigned int i = 0; i < desiredOutputShape.GetNumElements(); ++i)
+
18  {
+
19  output[i];
+
20  output.Set(value);
+
21  }
+
22 }
+
23 
+
24 } //namespace armnn
+
+
+
unsigned int GetNumElements() const
Function that calculates the tensor elements by multiplying all dimension size which are Specified.
Definition: Tensor.cpp:181
+ +
Copyright (c) 2021 ARM Limited and Contributors.
+ + +
void Fill(Encoder< float > &output, const TensorShape &desiredOutputShape, const float value)
Creates a tensor and fills it with a scalar value.
Definition: Fill.cpp:13
+
virtual void Set(IType right)=0
+ + + + + -- cgit v1.2.1