20.02
|
#include "../TestUtils.hpp"
#include <Network.hpp>
#include <Optimizer.hpp>
#include <boost/test/unit_test.hpp>
Go to the source code of this file.
Functions | |
BOOST_AUTO_TEST_CASE (PermuteAndBatchToSpaceAsDepthToSpaceOptimizerTest) | |
Tests that the optimization performed by PermuteAndBatchToSpaceAsDepthToSpace is as expected. More... | |
BOOST_AUTO_TEST_CASE (TransposeAndBatchToSpaceAsDepthToSpaceOptimizerTest) | |
Tests that the optimization performed by PermuteAndBatchToSpaceAsDepthToSpace is as expected. More... | |
BOOST_AUTO_TEST_CASE | ( | PermuteAndBatchToSpaceAsDepthToSpaceOptimizerTest | ) |
Tests that the optimization performed by PermuteAndBatchToSpaceAsDepthToSpace is as expected.
Note this does not ensure the correctness of the optimization - that is done in the below test.
Definition at line 87 of file PermuteAndBatchToSpaceAsDepthToSpaceTests.cpp.
References Graph::cbegin(), Graph::cend(), CheckSequence(), armnn::Float32, armnn::MakeOptimizations(), armnn::NHWC, and Optimizer::Pass().
BOOST_AUTO_TEST_CASE | ( | TransposeAndBatchToSpaceAsDepthToSpaceOptimizerTest | ) |
Tests that the optimization performed by PermuteAndBatchToSpaceAsDepthToSpace is as expected.
Note this does not ensure the correctness of the optimization - that is done in the below test.
Definition at line 117 of file PermuteAndBatchToSpaceAsDepthToSpaceTests.cpp.
References armnn::BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_SUITE_END(), Graph::cbegin(), Graph::cend(), CheckSequence(), armnn::CpuRef, IRuntime::Create(), armnn::Float32, armnn::MakeOptimizations(), armnn::NHWC, armnn::Optimize(), and Optimizer::Pass().