MCPcopy Create free account
hub / github.com/ARM-software/armnn / SetWorkloadInput

Function SetWorkloadInput

include/armnnTestUtils/WorkloadTestUtils.hpp:43–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41
42template <typename QueueDescriptor>
43void SetWorkloadInput(QueueDescriptor& descriptor,
44 armnn::WorkloadInfo& info,
45 unsigned int index,
46 const armnn::TensorInfo& tensorInfo,
47 armnn::ITensorHandle* tensorHandle)
48{
49 descriptor.m_Inputs[index] = tensorHandle;
50 info.m_InputTensorInfos[index] = tensorInfo;
51}
52
53template <typename QueueDescriptor>
54void SetWorkloadOutput(QueueDescriptor& descriptor,

Calls

no outgoing calls

Tested by

no test coverage detected