24 : m_MemoryManager(memoryManager)
40 std::string& outReasonIfUnsupported)
47 const bool isMemoryManaged)
const
49 return std::make_unique<armnn::ScopedTensorHandle>(tensorInfo);
55 const bool isMemoryManaged)
const
57 return std::make_unique<armnn::ScopedTensorHandle>(tensorInfo);
64 return std::make_unique<SampleDynamicAdditionWorkload>(descriptor, info);
71 return std::make_unique<armnn::CopyMemGenericWorkload>(descriptor, info);
78 return std::make_unique<armnn::CopyMemGenericWorkload>(descriptor, info);
86 using namespace armnn;
90 case LayerType::Addition:
92 auto additionQueueDescriptor = PolymorphicDowncast<const AdditionQueueDescriptor*>(&descriptor);
93 return std::make_unique<SampleDynamicAdditionWorkload>(*additionQueueDescriptor,
info);
95 case LayerType::Input:
97 auto inputQueueDescriptor = PolymorphicDowncast<const InputQueueDescriptor*>(&descriptor);
98 return std::make_unique<CopyMemGenericWorkload>(*inputQueueDescriptor,
info);
100 case LayerType::Output:
102 auto outputQueueDescriptor = PolymorphicDowncast<const OutputQueueDescriptor*>(&descriptor);
103 return std::make_unique<CopyMemGenericWorkload>(*outputQueueDescriptor,
info);