20.02
|
Go to the source code of this file.
Functions | |
SubgraphView::InputSlots | CreateInputsFrom (const std::vector< Layer *> &layers) |
SubgraphView::OutputSlots | CreateOutputsFrom (const std::vector< Layer *> &layers) |
SubgraphView::SubgraphViewPtr | CreateSubgraphViewFrom (SubgraphView::InputSlots &&inputs, SubgraphView::OutputSlots &&outputs, SubgraphView::Layers &&layers) |
armnn::IBackendInternalUniquePtr | CreateBackendObject (const armnn::BackendId &backendId) |
armnn::TensorShape | MakeTensorShape (unsigned int batches, unsigned int channels, unsigned int height, unsigned int width, armnn::DataLayout layout) |
armnn::IBackendInternalUniquePtr CreateBackendObject | ( | const armnn::BackendId & | backendId | ) |
Definition at line 45 of file CommonTestUtils.cpp.
References armnn::BackendRegistryInstance().
Referenced by SetWeightAndBias().
SubgraphView::InputSlots CreateInputsFrom | ( | const std::vector< Layer *> & | layers | ) |
Definition at line 12 of file CommonTestUtils.cpp.
Referenced by BOOST_AUTO_TEST_CASE(), and SetWeightAndBias().
SubgraphView::OutputSlots CreateOutputsFrom | ( | const std::vector< Layer *> & | layers | ) |
Definition at line 25 of file CommonTestUtils.cpp.
Referenced by BOOST_AUTO_TEST_CASE(), and SetWeightAndBias().
SubgraphView::SubgraphViewPtr CreateSubgraphViewFrom | ( | SubgraphView::InputSlots && | inputs, |
SubgraphView::OutputSlots && | outputs, | ||
SubgraphView::Layers && | layers | ||
) |
Definition at line 38 of file CommonTestUtils.cpp.
Referenced by BOOST_AUTO_TEST_CASE(), and SetWeightAndBias().
armnn::TensorShape MakeTensorShape | ( | unsigned int | batches, |
unsigned int | channels, | ||
unsigned int | height, | ||
unsigned int | width, | ||
armnn::DataLayout | layout | ||
) |
Definition at line 54 of file CommonTestUtils.cpp.
References armnn::GetDataLayoutName(), armnn::NCHW, and armnn::NHWC.
Referenced by SetWeightAndBias(), and TransposeConvolution2dEndToEnd().