From 6940dd720ebb6b3d1df8ca203ab696daefe58189 Mon Sep 17 00:00:00 2001 From: Jim Flynn Date: Fri, 20 Mar 2020 12:25:56 +0000 Subject: renamed Documentation folder 20.02 and added .nojekyll file Signed-off-by: Jim Flynn --- 20.02/_ref_tensor_handle_factory_8hpp_source.xhtml | 135 +++++++++++++++++++++ 1 file changed, 135 insertions(+) create mode 100644 20.02/_ref_tensor_handle_factory_8hpp_source.xhtml (limited to '20.02/_ref_tensor_handle_factory_8hpp_source.xhtml') diff --git a/20.02/_ref_tensor_handle_factory_8hpp_source.xhtml b/20.02/_ref_tensor_handle_factory_8hpp_source.xhtml new file mode 100644 index 0000000000..289359cf8b --- /dev/null +++ b/20.02/_ref_tensor_handle_factory_8hpp_source.xhtml @@ -0,0 +1,135 @@ + + + + + + + + + + + + + +ArmNN: src/backends/reference/RefTensorHandleFactory.hpp Source File + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  20.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
RefTensorHandleFactory.hpp
+
+
+Go to the documentation of this file.
1 //
2 // Copyright © 2017 Arm Ltd. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 
6 #pragma once
7 
8 #include "RefMemoryManager.hpp"
9 
11 
12 namespace armnn
13 {
14 
15 constexpr const char * RefTensorHandleFactoryId() { return "Arm/Ref/TensorHandleFactory"; }
16 
18 {
19 
20 public:
21  RefTensorHandleFactory(std::shared_ptr<RefMemoryManager> mgr)
22  : m_MemoryManager(mgr),
23  m_ImportFlags(static_cast<MemorySourceFlags>(MemorySource::Malloc)),
24  m_ExportFlags(static_cast<MemorySourceFlags>(MemorySource::Malloc))
25  {}
26 
27  std::unique_ptr<ITensorHandle> CreateSubTensorHandle(ITensorHandle& parent,
28  TensorShape const& subTensorShape,
29  unsigned int const* subTensorOrigin) const override;
30 
31  std::unique_ptr<ITensorHandle> CreateTensorHandle(const TensorInfo& tensorInfo) const override;
32 
33  std::unique_ptr<ITensorHandle> CreateTensorHandle(const TensorInfo& tensorInfo,
34  DataLayout dataLayout) const override;
35 
36  static const FactoryId& GetIdStatic();
37 
38  const FactoryId& GetId() const override;
39 
40  bool SupportsSubTensors() const override;
41 
42  MemorySourceFlags GetExportFlags() const override;
43 
44  MemorySourceFlags GetImportFlags() const override;
45 
46 private:
47  mutable std::shared_ptr<RefMemoryManager> m_MemoryManager;
48  MemorySourceFlags m_ImportFlags;
49  MemorySourceFlags m_ExportFlags;
50 
51 };
52 
53 } // namespace armnn
54 
static const FactoryId & GetIdStatic()
+
bool SupportsSubTensors() const override
+
DataLayout
Definition: Types.hpp:49
+ +
std::unique_ptr< ITensorHandle > CreateSubTensorHandle(ITensorHandle &parent, TensorShape const &subTensorShape, unsigned int const *subTensorOrigin) const override
+
unsigned int MemorySourceFlags
+
Copyright (c) 2020 ARM Limited.
+ + + +
MemorySourceFlags GetImportFlags() const override
+ +
RefTensorHandleFactory(std::shared_ptr< RefMemoryManager > mgr)
+
const FactoryId & GetId() const override
+ + + + +
MemorySourceFlags GetExportFlags() const override
+
std::unique_ptr< ITensorHandle > CreateTensorHandle(const TensorInfo &tensorInfo) const override
+
constexpr const char * RefTensorHandleFactoryId()
+ +
+
+ + + + -- cgit v1.2.1