24.02
|
Go to the documentation of this file.
17 m_TensorInfo = tensorInfo;
18 m_bTensorInfoSet =
true;
35 dataCollector.
Push(m_TensorHandle.get(), m_TensorInfo);
41 if (!m_AllocatedTensorHandle)
43 m_AllocatedTensorHandle = std::move(m_TensorHandle);
virtual std::unique_ptr< ITensorHandle > CreateTensorHandle(const TensorInfo &tensorInfo, const bool IsMemoryManaged=true) const =0
void SetTensorInfo(const TensorInfo &tensorInfo)
Sets the TensorInfo used by this output handler.
#define ARMNN_NO_DEPRECATE_WARN_BEGIN
void CreateTensorHandles(const IWorkloadFactory &factory, const bool IsMemoryManaged=true)
Creates tensor handles used by the intermediate tensors.
void Push(ITensorHandle *handle, const TensorInfo &info)
virtual std::unique_ptr< ITensorHandle > CreateTensorHandle(const TensorInfo &tensorInfo) const =0
#define ARMNN_NO_DEPRECATE_WARN_END
Copyright (c) 2021 ARM Limited and Contributors.
void CollectWorkloadOutputs(WorkloadDataCollector &dataCollector) const
Fill the outputs for a given queue descriptor.