17 return "Arm/Cl/TensorHandleFactory";
26 : m_MemoryManager(mgr)
33 const unsigned int* subTensorOrigin)
const override;
41 const bool IsMemoryManaged)
const override;
45 const bool IsMemoryManaged)
const override;
58 mutable std::shared_ptr<ClMemoryManager> m_MemoryManager;
static const FactoryId & GetIdStatic()
bool SupportsSubTensors() const override
MemorySourceFlags GetImportFlags() const override
ClTensorHandleFactory(std::shared_ptr< ClMemoryManager > mgr)
unsigned int MemorySourceFlags
Copyright (c) 2021 ARM Limited and Contributors.
std::unique_ptr< ITensorHandle > CreateSubTensorHandle(ITensorHandle &parent, const TensorShape &subTensorShape, const unsigned int *subTensorOrigin) const override
MemorySourceFlags GetExportFlags() const override
constexpr const char * ClTensorHandleFactoryId()
ITensorHandleFactory::FactoryId FactoryId
std::unique_ptr< ITensorHandle > CreateTensorHandle(const TensorInfo &tensorInfo) const override
MemorySource
Define the Memory Source to reduce copies.
const FactoryId & GetId() const override
static const FactoryId m_Id