24.02
|
Go to the documentation of this file.
14 #include <arm_compute/runtime/IScheduler.h>
32 std::string& outReasonIfUnsupported);
36 std::string& outReasonIfUnsupported,
44 unsigned int const* subTensorOrigin) const override;
48 const
bool IsMemoryManaged = true) const override;
53 const
bool IsMemoryManaged = true) const override;
59 void SetNumberOfThreads();
std::unique_ptr< ITensorHandle > CreateTensorHandle(const TensorInfo &tensorInfo, const bool IsMemoryManaged=true) const override
static bool IsLayerSupported(const Layer &layer, Optional< DataType > dataType, std::string &outReasonIfUnsupported)
Workload interface to enqueue a layer computation.
bool SupportsSubTensors() const override
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.
NeonWorkloadFactory(const std::shared_ptr< NeonMemoryManager > &memoryManager)
Contains information about TensorInfos of a layer.
std::unique_ptr< ITensorHandle > CreateSubTensorHandle(ITensorHandle &parent, TensorShape const &subTensorShape, unsigned int const *subTensorOrigin) const override
#define ARMNN_DEPRECATED_MSG(message)
const BackendId & GetBackendId() const override
Copyright (c) 2021 ARM Limited and Contributors.
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.
std::shared_ptr< IBackendModelContext > IBackendSpecificModelContextPtr