24.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;
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