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