24.08
|
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 | CheckOrder (const armnn::Graph &graph, const armnn::Layer *first, const armnn::Layer *second) |
Checks that first comes before second in the order. More... | |
bool CheckNumberOfInputSlot | ( | armnn::Layer * | layer, |
unsigned int | num | ||
) |
Definition at line 34 of file GraphUtils.cpp.
References Layer::GetNumInputSlots().
bool CheckNumberOfOutputSlot | ( | armnn::Layer * | layer, |
unsigned int | num | ||
) |
Definition at line 39 of file GraphUtils.cpp.
References Layer::GetNumOutputSlots().
bool CheckOrder | ( | const armnn::Graph & | graph, |
const armnn::Layer * | first, | ||
const armnn::Layer * | second | ||
) |
Checks that first comes before second in the order.
Definition at line 68 of file GraphUtils.cpp.
References Graph::Print(), and Graph::TopologicalSort().
armnn::Layer* GetFirstLayerWithName | ( | armnn::Graph & | graph, |
const std::string & | name | ||
) |
Definition at line 22 of file GraphUtils.cpp.
bool GraphHasNamedLayer | ( | const armnn::Graph & | graph, |
const std::string & | name | ||
) |
Definition at line 10 of file GraphUtils.cpp.
bool IsConnected | ( | armnn::Layer * | srcLayer, |
armnn::Layer * | destLayer, | ||
unsigned int | srcSlot, | ||
unsigned int | destSlot, | ||
const armnn::TensorInfo & | expectedTensorInfo | ||
) |
Definition at line 44 of file GraphUtils.cpp.
References IOutputSlot::GetConnection(), Layer::GetNameStr(), IOutputSlot::GetNumConnections(), Layer::GetOutputSlot(), and IOutputSlot::GetTensorInfo().