From f4019872c1134c6fcc1d6993e5746f55c1e79208 Mon Sep 17 00:00:00 2001 From: Nikhil Raj Date: Tue, 8 Mar 2022 20:01:38 +0000 Subject: IVGCVSW-6819 Fix the directory structure and broken link to latest docu Signed-off-by: Nikhil Raj Change-Id: I05b559d15faf92c76ff536719693b361316be4f3 --- 22.02/classarmnn_1_1_b_float16_encoder.xhtml | 304 +++++++++++++++++++++++++++ 1 file changed, 304 insertions(+) create mode 100644 22.02/classarmnn_1_1_b_float16_encoder.xhtml (limited to '22.02/classarmnn_1_1_b_float16_encoder.xhtml') diff --git a/22.02/classarmnn_1_1_b_float16_encoder.xhtml b/22.02/classarmnn_1_1_b_float16_encoder.xhtml new file mode 100644 index 0000000000..00e770332e --- /dev/null +++ b/22.02/classarmnn_1_1_b_float16_encoder.xhtml @@ -0,0 +1,304 @@ + + + + + + + + + + + + + +ArmNN: BFloat16Encoder Class Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  22.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
BFloat16Encoder Class Reference
+
+
+ +

#include <BaseIterator.hpp>

+
+Inheritance diagram for BFloat16Encoder:
+
+
+ + +TypedIterator< armnn::BFloat16, Encoder< float > > +Encoder< float > +BaseIterator + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 BFloat16Encoder (armnn::BFloat16 *data)
 
 BFloat16Encoder ()
 
void Set (float right) override
 
float Get () const override
 
- Public Member Functions inherited from TypedIterator< armnn::BFloat16, Encoder< float > >
 TypedIterator (armnn::BFloat16 *data=nullptr)
 
void Reset (void *data) override
 
TypedIteratoroperator++ () override
 
TypedIteratoroperator+= (const unsigned int increment) override
 
TypedIteratoroperator-= (const unsigned int increment) override
 
TypedIteratoroperator[] (const unsigned int index) override
 
- Public Member Functions inherited from Encoder< float >
 Encoder ()
 
virtual ~Encoder ()
 
- Public Member Functions inherited from BaseIterator
 BaseIterator ()
 
virtual ~BaseIterator ()
 
+ + + + + + +

+Additional Inherited Members

- Protected Attributes inherited from TypedIterator< armnn::BFloat16, Encoder< float > >
armnn::BFloat16m_Iterator
 
armnn::BFloat16m_Start
 
+

Detailed Description

+
+

Definition at line 627 of file BaseIterator.hpp.

+

Constructor & Destructor Documentation

+ +

◆ BFloat16Encoder() [1/2]

+ +
+
+ + + + + +
+ + + + + + + + +
BFloat16Encoder (armnn::BFloat16data)
+
+inline
+
+ +

Definition at line 630 of file BaseIterator.hpp.

+
631  : TypedIterator(data) {}
+
+
+
+ +

◆ BFloat16Encoder() [2/2]

+ +
+
+ + + + + +
+ + + + + + + +
BFloat16Encoder ()
+
+inline
+
+ +

Definition at line 633 of file BaseIterator.hpp.

+
634  : BFloat16Encoder(nullptr) {}
+
+
+
+

Member Function Documentation

+ +

◆ Get()

+ +
+
+ + + + + +
+ + + + + + + +
float Get () const
+
+inlineoverridevirtual
+
+ +

Implements Encoder< float >.

+ +

Definition at line 641 of file BaseIterator.hpp.

+ +

References FloatingPointConverter::ConvertBFloat16ToFloat32().

+
642  {
643  float val = 0.f;
645  return val;
646  }
+
static void ConvertBFloat16ToFloat32(const void *srcBFloat16Buffer, size_t numElements, float *dstFloat32Buffer)
+
+
+
+ +

◆ Set()

+ +
+
+ + + + + +
+ + + + + + + + +
void Set (float right)
+
+inlineoverridevirtual
+
+ +

Implements Encoder< float >.

+ +

Definition at line 636 of file BaseIterator.hpp.

+ +

References FloatingPointConverter::ConvertFloat32ToBFloat16().

+
637  {
639  }
+
static void ConvertFloat32ToBFloat16(const float *srcFloat32Buffer, size_t numElements, void *dstBFloat16Buffer)
+
+
+
+
The documentation for this class was generated from the following file: +
+
+ + + + -- cgit v1.2.1