12 #include <boost/assert.hpp> 19 m_TensorInfo = tensorInfo;
20 m_bTensorInfoSet =
true;
35 dataCollector.
Push(m_TensorHandle.get(), m_TensorInfo);
void CollectWorkloadOutputs(WorkloadDataCollector &dataCollector) const
Fill the outputs for a given queue descriptor.
void Push(ITensorHandle *handle, const TensorInfo &info)
virtual std::unique_ptr< ITensorHandle > CreateTensorHandle(const TensorInfo &tensorInfo, const bool IsMemoryManaged=true) const =0
virtual std::unique_ptr< ITensorHandle > CreateTensorHandle(const TensorInfo &tensorInfo) const =0
void CreateTensorHandles(const IWorkloadFactory &factory, const bool IsMemoryManaged=true)
Creates tensor handles used by the intermediate tensors. Does not allocate memory.
void SetTensorInfo(const TensorInfo &tensorInfo)
Sets the TensorInfo used by this output handler.