#include <ConvertFp32NetworkToFp16.hpp>
◆ ConvertFp32NetworkToFp16Impl()
◆ ~ConvertFp32NetworkToFp16Impl()
◆ Run()
Definition at line 18 of file ConvertFp32NetworkToFp16.hpp.
32 Layer& connectedLayer = layer.GetInputSlots()[0].GetConnectedOutputSlot()->GetOwningLayer();
49 for (
auto&& input = layer.BeginInputSlots(); input != layer.EndInputSlots(); ++input)
53 Layer& base = input->GetConnectedOutputSlot()->GetOwningLayer();
56 TensorInfo convertInfo = input->GetConnection()->GetTensorInfo();
60 input->GetConnection()->SetTensorInfo(convertInfo);
69 for (
auto&& output = layer.BeginOutputSlots(); output != layer.EndOutputSlots(); ++output)
71 TensorInfo convertInfo = output->GetTensorInfo();
75 output->SetTensorInfo(convertInfo);
References Layer::BeginInputSlots(), Layer::BeginOutputSlots(), armnn::ConvertFp16ToFp32, armnn::ConvertFp32ToFp16, armnn::DetectionPostProcess, Layer::EndInputSlots(), Layer::EndOutputSlots(), armnn::Float16, armnn::Float32, TensorInfo::GetDataType(), Layer::GetDataType(), Layer::GetInputSlots(), Layer::GetType(), armnn::Input, armnn::InsertConvertFp16ToFp32LayersBefore(), armnn::InsertConvertFp32ToFp16LayersAfter(), armnn::Output, and TensorInfo::SetDataType().
The documentation for this class was generated from the following file: