20.02
|
Go to the source code of this file.
Functions | |
bool | GraphHasNamedLayer (const armnn::Graph &graph, const std::string &name) |
armnn::Layer * | GetFirstLayerWithName (armnn::Graph &graph, const std::string &name) |
bool | CheckNumberOfInputSlot (armnn::Layer *layer, unsigned int num) |
bool | CheckNumberOfOutputSlot (armnn::Layer *layer, unsigned int num) |
bool | IsConnected (armnn::Layer *srcLayer, armnn::Layer *destLayer, unsigned int srcSlot, unsigned int destSlot, const armnn::TensorInfo &expectedTensorInfo) |
bool CheckNumberOfInputSlot | ( | armnn::Layer * | layer, |
unsigned int | num | ||
) |
Definition at line 32 of file GraphUtils.cpp.
References Layer::GetNumInputSlots().
Referenced by BOOST_FIXTURE_TEST_CASE().
bool CheckNumberOfOutputSlot | ( | armnn::Layer * | layer, |
unsigned int | num | ||
) |
Definition at line 37 of file GraphUtils.cpp.
References Layer::GetNumOutputSlots().
Referenced by BOOST_FIXTURE_TEST_CASE().
armnn::Layer* GetFirstLayerWithName | ( | armnn::Graph & | graph, |
const std::string & | name | ||
) |
Definition at line 20 of file GraphUtils.cpp.
Referenced by BOOST_AUTO_TEST_CASE(), and BOOST_FIXTURE_TEST_CASE().
bool GraphHasNamedLayer | ( | const armnn::Graph & | graph, |
const std::string & | name | ||
) |
Definition at line 8 of file GraphUtils.cpp.
Referenced by BOOST_AUTO_TEST_CASE().
bool IsConnected | ( | armnn::Layer * | srcLayer, |
armnn::Layer * | destLayer, | ||
unsigned int | srcSlot, | ||
unsigned int | destSlot, | ||
const armnn::TensorInfo & | expectedTensorInfo | ||
) |
Definition at line 42 of file GraphUtils.cpp.
References IOutputSlot::GetConnection(), Layer::GetNameStr(), IOutputSlot::GetNumConnections(), Layer::GetOutputSlot(), and IOutputSlot::GetTensorInfo().
Referenced by BOOST_FIXTURE_TEST_CASE().