24.02
|
#include <OutputHandler.hpp>
Public Member Functions | |
void | SetTensorInfo (const TensorInfo &tensorInfo) |
| |
void | CreateTensorHandles (const IWorkloadFactory &factory, const bool IsMemoryManaged=true) |
| |
void | CreateTensorHandles (const ITensorHandleFactory &factory, const bool IsMemoryManaged=true) |
const TensorInfo & | GetTensorInfo () const |
| |
ITensorHandle * | GetData () const |
| |
void | CollectWorkloadOutputs (WorkloadDataCollector &dataCollector) const |
Fill the outputs for a given queue descriptor. More... | |
void | SetData (std::unique_ptr< ITensorHandle > data) |
void | SetAllocatedData () |
void | UseAllocatedData () |
bool | IsTensorInfoSet () const |
Returns true if SetTensorInfo() has been called at least once on this. More... | |
Definition at line 28 of file OutputHandler.hpp.
void CollectWorkloadOutputs | ( | WorkloadDataCollector & | dataCollector | ) | const |
Fill the outputs for a given queue descriptor.
Definition at line 33 of file OutputHandler.cpp.
References WorkloadDataCollector::Push().
void CreateTensorHandles | ( | const ITensorHandleFactory & | factory, |
const bool | IsMemoryManaged = true |
||
) |
Definition at line 28 of file OutputHandler.cpp.
References ITensorHandleFactory::CreateTensorHandle().
void CreateTensorHandles | ( | const IWorkloadFactory & | factory, |
const bool | IsMemoryManaged = true |
||
) |
Does not allocate memory.
factory | - Factory to be used for handler creation. |
Definition at line 21 of file OutputHandler.cpp.
References ARMNN_NO_DEPRECATE_WARN_BEGIN, ARMNN_NO_DEPRECATE_WARN_END, and IWorkloadFactory::CreateTensorHandle().
Referenced by Layer::CreateTensorHandles().
|
inline |
Definition at line 46 of file OutputHandler.hpp.
Referenced by LoadedNetwork::EnqueueWorkload().
|
inline |
Definition at line 42 of file OutputHandler.hpp.
Referenced by OutputSlot::GetTensorInfo(), TransposeAsReshapeImpl::Run(), PermuteAsReshapeImpl::Run(), OptimizeConsecutiveReshapesImpl::Run(), and OutputSlot::ValidateTensorShape().
|
inline |
Returns true if SetTensorInfo() has been called at least once on this.
Definition at line 58 of file OutputHandler.hpp.
Referenced by OutputSlot::IsTensorInfoSet().
void SetAllocatedData | ( | ) |
Definition at line 38 of file OutputHandler.cpp.
|
inline |
Definition at line 51 of file OutputHandler.hpp.
void SetTensorInfo | ( | const TensorInfo & | tensorInfo | ) |
tensorInfo | - TensorInfo for the output. |
Definition at line 15 of file OutputHandler.cpp.
Referenced by InputSlot::Insert(), OutputSlot::MoveAllConnections(), DeleteBroadcastToImpl::Run(), MovePermuteUpImpl::Run(), MoveTransposeUpImpl::Run(), and OutputSlot::SetTensorInfo().
|
inline |
Definition at line 55 of file OutputHandler.hpp.