24.02
|
Go to the documentation of this file.
30 std::string& outReasonIfUnsupported);
34 std::string& outReasonIfUnsupported,
42 unsigned int const* subTensorOrigin)
const override
50 const
bool IsMemoryManaged = true) const override;
55 const
bool IsMemoryManaged = true) const override;
62 template <typename F32Workload, typename U8Workload, typename QueueDescriptorType>
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.
const BackendId & GetBackendId() const override
Workload interface to enqueue a layer computation.
std::unique_ptr< ITensorHandle > CreateTensorHandle(const TensorInfo &tensorInfo, const bool IsMemoryManaged=true) const override
Contains information about TensorInfos of a layer.
bool SupportsSubTensors() const override
std::unique_ptr< ITensorHandle > CreateSubTensorHandle(ITensorHandle &parent, TensorShape const &subTensorShape, unsigned int const *subTensorOrigin) const override
static bool IsLayerSupported(const Layer &layer, Optional< DataType > dataType, std::string &outReasonIfUnsupported)
#define ARMNN_DEPRECATED_MSG(message)
void IgnoreUnused(Ts &&...)
Copyright (c) 2021 ARM Limited and Contributors.
~TosaRefWorkloadFactory()
Interface for a layer that is connectable to other layers via InputSlots and OutputSlots.
std::vector< BackendOptions > ModelOptions
LayerType
When adding a new layer, adapt also the LastLayer enum value in the enum class LayerType below.