23.02
|
Go to the documentation of this file.
17 return "Arm/Cl/ImportTensorHandleFactory";
35 : m_ImportFlags(importFlags)
36 , m_ExportFlags(exportFlags)
41 const unsigned int* subTensorOrigin)
const override;
49 const bool IsMemoryManaged)
const override;
53 const bool IsMemoryManaged)
const override;
MemorySourceFlags GetImportFlags() const override
Interface for a layer that is connectable to other layers via InputSlots and OutputSlots.
std::unique_ptr< ITensorHandle > CreateTensorHandle(const TensorInfo &tensorInfo) const override
CapabilityClass
Capability class to calculate in the GetCapabilities function so that only the capability in the scop...
static const FactoryId m_Id
This factory creates ClImportTensorHandles that refer to imported memory tensors.
Copyright (c) 2021 ARM Limited and Contributors.
constexpr const char * ClImportTensorHandleFactoryId()
bool SupportsSubTensors() const override
const FactoryId & GetId() const override
ITensorHandleFactory::FactoryId FactoryId
ClImportTensorHandleFactory(MemorySourceFlags importFlags, MemorySourceFlags exportFlags)
Create a tensor handle factory for tensors that will be imported or exported.
static const FactoryId & GetIdStatic()
std::unique_ptr< ITensorHandle > CreateSubTensorHandle(ITensorHandle &parent, const TensorShape &subTensorShape, const unsigned int *subTensorOrigin) const override
bool SupportsMapUnmap() const override
MemorySourceFlags GetExportFlags() const override
unsigned int MemorySourceFlags
std::vector< Capability > GetCapabilities(const IConnectableLayer *layer, const IConnectableLayer *connectedLayer, CapabilityClass capabilityClass) override