From ae050524109f1ce827962665436ef7430f2ac479 Mon Sep 17 00:00:00 2001 From: David Monahan Date: Wed, 22 Mar 2023 16:48:58 +0000 Subject: IVGCVSW-7255 Update Doxygen Documentation and publish on GitHub. * Updating Doxygen documentation for 23.02 release. Signed-off-by: David Monahan Change-Id: I545574ff7664b4595d2fe6a91a3c35d2ad55df82 --- .../_convert_fp32_to_fp16_layer_8hpp_source.xhtml | 170 +++++++++++++++++++++ 1 file changed, 170 insertions(+) create mode 100644 latest/_convert_fp32_to_fp16_layer_8hpp_source.xhtml (limited to 'latest/_convert_fp32_to_fp16_layer_8hpp_source.xhtml') diff --git a/latest/_convert_fp32_to_fp16_layer_8hpp_source.xhtml b/latest/_convert_fp32_to_fp16_layer_8hpp_source.xhtml new file mode 100644 index 0000000000..e48c757df6 --- /dev/null +++ b/latest/_convert_fp32_to_fp16_layer_8hpp_source.xhtml @@ -0,0 +1,170 @@ + + + + + + + + + + + + + +ArmNN: src/armnn/layers/ConvertFp32ToFp16Layer.hpp Source File + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  23.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
ConvertFp32ToFp16Layer.hpp
+
+
+Go to the documentation of this file.
1 //
+
2 // Copyright © 2017 Arm Ltd and Contributors. All rights reserved.
+
3 // SPDX-License-Identifier: MIT
+
4 //
+
5 #pragma once
+
6 
+
7 #include <Layer.hpp>
+
8 
+
9 namespace armnn
+
10 {
+
11 
+
12 /// This layer converts data type Float 32 to Float 16.
+ +
14 {
+
15 public:
+
16  /// Makes a workload for the ConvertFp32ToFp16 type.
+
17  /// @param [in] factory The workload factory which will create the workload.
+
18  /// @return A pointer to the created workload, or nullptr if not created.
+
19  virtual std::unique_ptr<IWorkload> CreateWorkload(const IWorkloadFactory& factory) const override;
+
20 
+
21  /// Creates a dynamically-allocated copy of this layer.
+
22  /// @param [in] graph The graph into which this layer is being cloned.
+
23  ConvertFp32ToFp16Layer* Clone(Graph& graph) const override;
+
24 
+
25  /// Check if the input tensor shape(s)
+
26  /// will lead to a valid configuration of @ref ConvertFp32ToFp16Layer.
+
27  /// @param [in] shapeInferenceMethod Indicates if output shape shall be overwritten or just validated.
+
28  void ValidateTensorShapesFromInputs() override;
+
29 
+
30  void ExecuteStrategy(IStrategy& strategy) const override;
+
31 
+
32 protected:
+
33  /// Constructor to create a ConvertFp32ToFp16Layer.
+
34  /// @param [in] name Optional name for the layer.
+
35  ConvertFp32ToFp16Layer(const char* name);
+
36 
+
37  /// Default destructor
+
38  ~ConvertFp32ToFp16Layer() = default;
+
39 };
+
40 
+
41 } // namespace
+
+
+
ConvertFp32ToFp16Layer(const char *name)
Constructor to create a ConvertFp32ToFp16Layer.
+
void ValidateTensorShapesFromInputs() override
Check if the input tensor shape(s) will lead to a valid configuration of ConvertFp32ToFp16Layer.
+ + +
Copyright (c) 2021 ARM Limited and Contributors.
+ +
~ConvertFp32ToFp16Layer()=default
Default destructor.
+ +
ConvertFp32ToFp16Layer * Clone(Graph &graph) const override
Creates a dynamically-allocated copy of this layer.
+
void ExecuteStrategy(IStrategy &strategy) const override
Apply a visitor to this layer.
+ +
This layer converts data type Float 32 to Float 16.
+
virtual std::unique_ptr< IWorkload > CreateWorkload(const IWorkloadFactory &factory) const override
Makes a workload for the ConvertFp32ToFp16 type.
+ + + + -- cgit v1.2.1