From cb0630959aeae05bc2ae9f6d80cf5f5983a8fb77 Mon Sep 17 00:00:00 2001 From: Nikhil Raj Date: Wed, 23 Nov 2022 11:05:29 +0000 Subject: IVGCVSW-7075 Update Doxygen for 22.11 Release Signed-off-by: Nikhil Raj Change-Id: Ib5669e8fd3739d1b10f5dd694d020d51799896dc --- ..._import_tensor_handle_factory_8hpp_source.xhtml | 140 +++++++++++++++++++++ 1 file changed, 140 insertions(+) create mode 100644 22.11/_cl_import_tensor_handle_factory_8hpp_source.xhtml (limited to '22.11/_cl_import_tensor_handle_factory_8hpp_source.xhtml') diff --git a/22.11/_cl_import_tensor_handle_factory_8hpp_source.xhtml b/22.11/_cl_import_tensor_handle_factory_8hpp_source.xhtml new file mode 100644 index 0000000000..153e94d9c4 --- /dev/null +++ b/22.11/_cl_import_tensor_handle_factory_8hpp_source.xhtml @@ -0,0 +1,140 @@ + + + + + + + + + + + + + +ArmNN: src/backends/cl/ClImportTensorHandleFactory.hpp Source File + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  22.11 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
ClImportTensorHandleFactory.hpp
+
+
+Go to the documentation of this file.
1 //
2 // Copyright © 2021 Arm Ltd. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 #pragma once
6 
11 
12 namespace armnn
13 {
14 
15 constexpr const char* ClImportTensorHandleFactoryId()
16 {
17  return "Arm/Cl/ImportTensorHandleFactory";
18 }
19 
20 /**
21  * This factory creates ClImportTensorHandles that refer to imported memory tensors.
22  */
24 {
25 public:
26  static const FactoryId m_Id;
27 
28  /**
29  * Create a tensor handle factory for tensors that will be imported or exported.
30  *
31  * @param importFlags
32  * @param exportFlags
33  */
35  : m_ImportFlags(importFlags)
36  , m_ExportFlags(exportFlags)
37  {}
38 
39  std::unique_ptr<ITensorHandle> CreateSubTensorHandle(ITensorHandle& parent,
40  const TensorShape& subTensorShape,
41  const unsigned int* subTensorOrigin) const override;
42 
43  std::unique_ptr<ITensorHandle> CreateTensorHandle(const TensorInfo& tensorInfo) const override;
44 
45  std::unique_ptr<ITensorHandle> CreateTensorHandle(const TensorInfo& tensorInfo,
46  DataLayout dataLayout) const override;
47 
48  std::unique_ptr<ITensorHandle> CreateTensorHandle(const TensorInfo& tensorInfo,
49  const bool IsMemoryManaged) const override;
50 
51  std::unique_ptr<ITensorHandle> CreateTensorHandle(const TensorInfo& tensorInfo,
52  DataLayout dataLayout,
53  const bool IsMemoryManaged) const override;
54 
55  static const FactoryId& GetIdStatic();
56 
57  const FactoryId& GetId() const override;
58 
59  bool SupportsSubTensors() const override;
60 
61  bool SupportsMapUnmap() const override;
62 
63  MemorySourceFlags GetExportFlags() const override;
64 
65  MemorySourceFlags GetImportFlags() const override;
66 
67  std::vector<Capability> GetCapabilities(const IConnectableLayer* layer,
68  const IConnectableLayer* connectedLayer,
69  CapabilityClass capabilityClass) override;
70 
71 private:
72  MemorySourceFlags m_ImportFlags;
73  MemorySourceFlags m_ExportFlags;
74 };
75 
76 } // namespace armnn
Interface for a layer that is connectable to other layers via InputSlots and OutputSlots.
Definition: INetwork.hpp:68
+
DataLayout
Definition: Types.hpp:62
+
MemorySourceFlags GetImportFlags() const override
+
CapabilityClass
Capability class to calculate in the GetCapabilities function so that only the capability in the scop...
+ + +
MemorySourceFlags GetExportFlags() const override
+
unsigned int MemorySourceFlags
+ +
Copyright (c) 2021 ARM Limited and Contributors.
+ + +
constexpr const char * ClImportTensorHandleFactoryId()
+ +
ITensorHandleFactory::FactoryId FactoryId
+ +
std::unique_ptr< ITensorHandle > CreateSubTensorHandle(ITensorHandle &parent, const TensorShape &subTensorShape, const unsigned int *subTensorOrigin) const override
+
const FactoryId & GetId() const override
+ +
This factory creates ClImportTensorHandles that refer to imported memory tensors. ...
+
std::vector< Capability > GetCapabilities(const IConnectableLayer *layer, const IConnectableLayer *connectedLayer, CapabilityClass capabilityClass) override
+ + + +
ClImportTensorHandleFactory(MemorySourceFlags importFlags, MemorySourceFlags exportFlags)
Create a tensor handle factory for tensors that will be imported or exported.
+
std::unique_ptr< ITensorHandle > CreateTensorHandle(const TensorInfo &tensorInfo) const override
+ +
+
+ + + + -- cgit v1.2.1