38 : m_MemoryManager(mgr),
45 const unsigned int* subTensorOrigin)
const override;
53 const bool IsMemoryManaged)
const override;
57 const bool IsMemoryManaged =
true)
const override;
76 mutable std::shared_ptr<NeonMemoryManager> m_MemoryManager;
Interface for a layer that is connectable to other layers via InputSlots and OutputSlots.
NeonTensorHandleFactory(std::weak_ptr< NeonMemoryManager > mgr)
const FactoryId & GetId() const override
std::vector< Capability > GetCapabilities(const IConnectableLayer *layer, const IConnectableLayer *connectedLayer, CapabilityClass capabilityClass) override
std::unique_ptr< ITensorHandle > CreateTensorHandle(const TensorInfo &tensorInfo) const override
bool SupportsInPlaceComputation() const override
MemorySourceFlags GetExportFlags() const override
std::unique_ptr< ITensorHandle > CreateSubTensorHandle(ITensorHandle &parent, const TensorShape &subTensorShape, const unsigned int *subTensorOrigin) const override
MemorySourceFlags GetImportFlags() const override
static const FactoryId & GetIdStatic()
bool SupportsSubTensors() const override
Copyright (c) 2021 ARM Limited and Contributors.
CapabilityClass
Capability class to calculate in the GetCapabilities function so that only the capability in the scop...
MemorySource
Define the Memory Source to reduce copies.
const std::set< armnn::LayerType > paddingRequiredLayers
unsigned int MemorySourceFlags
ITensorHandleFactory::FactoryId FactoryId
constexpr const char * NeonTensorHandleFactoryId()