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>
63 std::unique_ptr<IWorkload> MakeWorkload(
const QueueDescriptorType& descriptor,
const WorkloadInfo& info)
const;
65 mutable std::shared_ptr<TosaRefMemoryManager> m_MemoryManager;
Interface for a layer that is connectable to other layers via InputSlots and OutputSlots.
std::vector< BackendOptions > ModelOptions
std::unique_ptr< ITensorHandle > CreateSubTensorHandle(ITensorHandle &parent, TensorShape const &subTensorShape, unsigned int const *subTensorOrigin) const override
~TosaRefWorkloadFactory()
Copyright (c) 2021 ARM Limited and Contributors.
void IgnoreUnused(Ts &&...)
static bool IsLayerSupported(const Layer &layer, Optional< DataType > dataType, std::string &outReasonIfUnsupported)
std::unique_ptr< ITensorHandle > CreateTensorHandle(const TensorInfo &tensorInfo, const bool IsMemoryManaged=true) const override
std::unique_ptr< IWorkload > CreateWorkload(LayerType type, const QueueDescriptor &descriptor, const WorkloadInfo &info) const override
Contains information about TensorInfos of a layer.
const BackendId & GetBackendId() const override
#define ARMNN_DEPRECATED_MSG(message)
bool SupportsSubTensors() const override
LayerType
When adding a new layer, adapt also the LastLayer enum value in the enum class LayerType below...