24.02
|
#include <ConversionUtils.hpp>
Public Member Functions | |
LayerInputHandle () | |
LayerInputHandle (bool valid, armnn::IOutputSlot *outputSlot, armnn::TensorInfo tensorInfo) | |
bool | IsValid () const |
void | Connect (armnn::IInputSlot &inputSlot) |
void | Disconnect (armnn::IInputSlot &inputSlot) |
const armnn::TensorInfo & | GetTensorInfo () const |
void | SanitizeQuantizationScale (LayerInputHandle &weight, LayerInputHandle &input) |
armnn::IOutputSlot * | GetOutputSlot () const |
Definition at line 68 of file ConversionUtils.hpp.
LayerInputHandle | ( | ) |
Definition at line 17 of file ConversionUtils.cpp.
LayerInputHandle | ( | bool | valid, |
armnn::IOutputSlot * | outputSlot, | ||
armnn::TensorInfo | tensorInfo | ||
) |
Definition at line 22 of file ConversionUtils.cpp.
void Connect | ( | armnn::IInputSlot & | inputSlot | ) |
Definition at line 33 of file ConversionUtils.cpp.
References IOutputSlot::Connect(), and LayerInputHandle::IsValid().
Referenced by armnn_driver::ConvertPooling2d(), armnn_driver::ConvertReduce(), and armnn_driver::ConvertToActivation().
void Disconnect | ( | armnn::IInputSlot & | inputSlot | ) |
Definition at line 45 of file ConversionUtils.cpp.
References IOutputSlot::Disconnect(), and LayerInputHandle::IsValid().
armnn::IOutputSlot * GetOutputSlot | ( | ) | const |
Definition at line 77 of file ConversionUtils.cpp.
const armnn::TensorInfo & GetTensorInfo | ( | ) | const |
Definition at line 57 of file ConversionUtils.cpp.
Referenced by armnn_driver::ConvertPooling2d(), armnn_driver::ConvertReduce(), armnn_driver::ConvertToActivation(), and LayerInputHandle::SanitizeQuantizationScale().
bool IsValid | ( | ) | const |
Definition at line 28 of file ConversionUtils.cpp.
Referenced by LayerInputHandle::Connect(), armnn_driver::ConvertPooling2d(), armnn_driver::ConvertReduce(), armnn_driver::ConvertToActivation(), and LayerInputHandle::Disconnect().
void SanitizeQuantizationScale | ( | LayerInputHandle & | weight, |
LayerInputHandle & | input | ||
) |
Definition at line 62 of file ConversionUtils.cpp.
References LayerInputHandle::GetTensorInfo(), and IOutputSlot::SetTensorInfo().