24.02
|
Go to the documentation of this file.
17 template <
typename QueueDescriptorType>
39 std::string& outReasonIfUnsupported);
43 std::string& outReasonIfUnsupported,
51 unsigned int const* subTensorOrigin)
const override
59 const
bool IsMemoryManaged = true) const override;
64 const
bool IsMemoryManaged = true) const override;
71 template <typename F32Workload, typename U8Workload, typename QueueDescriptorType>
constexpr bool IsOperationQueueDescriptor(const QueueDescriptorType &)
Workload interface to enqueue a layer computation.
const BackendId & GetBackendId() const override
bool SupportsSubTensors() const override
Contains information about TensorInfos of a layer.
std::unique_ptr< IWorkload > CreateWorkload(LayerType type, const QueueDescriptor &descriptor, const WorkloadInfo &info) const override
Backends should implement their own CreateWorkload function with a switch statement.
std::unique_ptr< ITensorHandle > CreateTensorHandle(const TensorInfo &tensorInfo, const bool IsMemoryManaged=true) const override
#define ARMNN_DEPRECATED_MSG(message)
void IgnoreUnused(Ts &&...)
Copyright (c) 2021 ARM Limited and Contributors.
Interface for a layer that is connectable to other layers via InputSlots and OutputSlots.
std::unique_ptr< ITensorHandle > CreateSubTensorHandle(ITensorHandle &parent, TensorShape const &subTensorShape, unsigned int const *subTensorOrigin) const override
std::vector< BackendOptions > ModelOptions
static bool IsLayerSupported(const Layer &layer, Optional< DataType > dataType, std::string &outReasonIfUnsupported)
LayerType
When adding a new layer, adapt also the LastLayer enum value in the enum class LayerType below.