20.02
|
#include "GraphUtils.hpp"
#include <armnn/LayerVisitorBase.hpp>
#include <Network.hpp>
#include <boost/test/unit_test.hpp>
Go to the source code of this file.
Functions | |
BOOST_AUTO_TEST_CASE (LayerGuids) | |
BOOST_AUTO_TEST_CASE (NetworkBasic) | |
BOOST_AUTO_TEST_CASE (LayerNamesAreOptionalForINetwork) | |
BOOST_AUTO_TEST_CASE (LayerNamesAreOptionalForNetwork) | |
BOOST_AUTO_TEST_CASE (NetworkModification) | |
BOOST_AUTO_TEST_CASE (NetworkModification_SplitterConcat) | |
BOOST_AUTO_TEST_CASE (NetworkModification_SplitterAddition) | |
BOOST_AUTO_TEST_CASE (NetworkModification_SplitterMultiplication) | |
BOOST_AUTO_TEST_CASE (Network_AddQuantize) | |
BOOST_AUTO_TEST_CASE (Network_AddMerge) | |
BOOST_AUTO_TEST_CASE (StandInLayerNetworkTest) | |
BOOST_AUTO_TEST_CASE (StandInLayerSingleInputMultipleOutputsNetworkTest) | |
BOOST_AUTO_TEST_CASE | ( | LayerGuids | ) |
Definition at line 32 of file NetworkTests.cpp.
References Network::AddAdditionLayer(), Network::AddInputLayer(), Network::AddOutputLayer(), and IConnectableLayer::GetGuid().
BOOST_AUTO_TEST_CASE | ( | NetworkBasic | ) |
Definition at line 44 of file NetworkTests.cpp.
References Network::PrintGraph(), and armnn::Success.
BOOST_AUTO_TEST_CASE | ( | LayerNamesAreOptionalForINetwork | ) |
Definition at line 50 of file NetworkTests.cpp.
References INetwork::AddActivationLayer(), INetwork::AddAdditionLayer(), INetwork::AddInputLayer(), and INetwork::AddOutputLayer().
BOOST_AUTO_TEST_CASE | ( | LayerNamesAreOptionalForNetwork | ) |
Definition at line 60 of file NetworkTests.cpp.
References Network::AddActivationLayer(), Network::AddAdditionLayer(), Network::AddInputLayer(), and Network::AddOutputLayer().
BOOST_AUTO_TEST_CASE | ( | NetworkModification | ) |
Definition at line 69 of file NetworkTests.cpp.
References Network::AddActivationLayer(), Network::AddAdditionLayer(), Network::AddBatchNormalizationLayer(), Network::AddConvolution2dLayer(), Network::AddFullyConnectedLayer(), Network::AddInputLayer(), Network::AddMultiplicationLayer(), Network::AddNormalizationLayer(), Network::AddOutputLayer(), Network::AddPooling2dLayer(), Network::AddSoftmaxLayer(), IOutputSlot::Connect(), armnn::Float32, IOutputSlot::GetConnection(), Network::GetGraph(), IConnectableLayer::GetInputSlot(), IOutputSlot::GetNumConnections(), IConnectableLayer::GetNumInputSlots(), Graph::GetNumLayers(), IConnectableLayer::GetNumOutputSlots(), IConnectableLayer::GetOutputSlot(), and GraphHasNamedLayer().
BOOST_AUTO_TEST_CASE | ( | NetworkModification_SplitterConcat | ) |
Definition at line 229 of file NetworkTests.cpp.
References Network::AddConcatLayer(), Network::AddInputLayer(), Network::AddOutputLayer(), Network::AddSoftmaxLayer(), Network::AddSplitterLayer(), IOutputSlot::Connect(), IInputSlot::GetConnection(), IOutputSlot::GetConnection(), IConnectableLayer::GetInputSlot(), IConnectableLayer::GetNumInputSlots(), IConnectableLayer::GetNumOutputSlots(), and IConnectableLayer::GetOutputSlot().
BOOST_AUTO_TEST_CASE | ( | NetworkModification_SplitterAddition | ) |
Definition at line 286 of file NetworkTests.cpp.
References Network::AddAdditionLayer(), Network::AddInputLayer(), Network::AddOutputLayer(), Network::AddSoftmaxLayer(), Network::AddSplitterLayer(), IOutputSlot::Connect(), IConnectableLayer::GetInputSlot(), and IConnectableLayer::GetOutputSlot().
BOOST_AUTO_TEST_CASE | ( | NetworkModification_SplitterMultiplication | ) |
Definition at line 331 of file NetworkTests.cpp.
References Network::AddInputLayer(), Network::AddMultiplicationLayer(), Network::AddOutputLayer(), Network::AddSoftmaxLayer(), Network::AddSplitterLayer(), IOutputSlot::Connect(), IConnectableLayer::GetInputSlot(), and IConnectableLayer::GetOutputSlot().
BOOST_AUTO_TEST_CASE | ( | Network_AddQuantize | ) |
Definition at line 374 of file NetworkTests.cpp.
References INetwork::Create(), armnn::Float32, IInputSlot::GetConnection(), TensorInfo::GetDataType(), IConnectableLayer::GetInputSlot(), IConnectableLayer::GetName(), IConnectableLayer::GetNumInputSlots(), IConnectableLayer::GetNumOutputSlots(), IConnectableLayer::GetOutputSlot(), IOutputSlot::GetTensorInfo(), armnn::QAsymmU8, and LayerVisitorBase< DefaultPolicy >::VisitQuantizeLayer().
BOOST_AUTO_TEST_CASE | ( | Network_AddMerge | ) |
Definition at line 424 of file NetworkTests.cpp.
References IOutputSlot::Connect(), INetwork::Create(), armnn::Float32, IInputSlot::GetConnection(), TensorInfo::GetDataType(), IConnectableLayer::GetInputSlot(), IConnectableLayer::GetName(), IConnectableLayer::GetNumInputSlots(), IConnectableLayer::GetNumOutputSlots(), IConnectableLayer::GetOutputSlot(), IOutputSlot::GetTensorInfo(), armnn::info, IOutputSlot::SetTensorInfo(), and LayerVisitorBase< DefaultPolicy >::VisitMergeLayer().
BOOST_AUTO_TEST_CASE | ( | StandInLayerNetworkTest | ) |
Definition at line 476 of file NetworkTests.cpp.
References Network::AddFloorLayer(), Network::AddInputLayer(), Network::AddOutputLayer(), Network::AddStandInLayer(), IOutputSlot::Connect(), Network::GetGraph(), IConnectableLayer::GetOutputSlot(), GraphHasNamedLayer(), StandInDescriptor::m_NumInputs, and StandInDescriptor::m_NumOutputs.
BOOST_AUTO_TEST_CASE | ( | StandInLayerSingleInputMultipleOutputsNetworkTest | ) |
Definition at line 509 of file NetworkTests.cpp.
References Network::AddInputLayer(), Network::AddOutputLayer(), Network::AddStandInLayer(), BOOST_AUTO_TEST_SUITE_END(), IOutputSlot::Connect(), Network::GetGraph(), IConnectableLayer::GetOutputSlot(), GraphHasNamedLayer(), StandInDescriptor::m_NumInputs, and StandInDescriptor::m_NumOutputs.