21.05
|
#include <Graph.hpp>
#include <Network.hpp>
#include <reference/RefWorkloadFactory.hpp>
#include <boost/test/unit_test.hpp>
Go to the source code of this file.
Functions | |
BOOST_AUTO_TEST_CASE (SerializeToDot) | |
BOOST_AUTO_TEST_CASE (OptimizeValidateDeviceNonSupportLayerNoFallback) | |
BOOST_AUTO_TEST_CASE (OptimizeValidateDeviceNonSupportLayerWithFallback) | |
BOOST_AUTO_TEST_CASE (OptimizeValidateWorkloadsUndefinedComputeDevice) | |
BOOST_AUTO_TEST_CASE (OptimizeValidateWorkloadsUndefinedComputeDeviceWithFallback) | |
BOOST_AUTO_TEST_CASE (OptimizeValidateWorkloadsDuplicateComputeDeviceWithFallback) | |
BOOST_AUTO_TEST_CASE | ( | SerializeToDot | ) |
Definition at line 16 of file OptimizedNetworkTests.cpp.
References armnn::CpuRef, IRuntime::Create(), INetwork::Create(), armnn::Float32, and armnn::Optimize().
BOOST_AUTO_TEST_CASE | ( | OptimizeValidateDeviceNonSupportLayerNoFallback | ) |
Definition at line 68 of file OptimizedNetworkTests.cpp.
References IOutputSlot::Connect(), armnn::CpuAcc, IRuntime::Create(), INetwork::Create(), armnn::Float32, IConnectableLayer::GetInputSlot(), IConnectableLayer::GetOutputSlot(), armnn::Optimize(), and IOutputSlot::SetTensorInfo().
BOOST_AUTO_TEST_CASE | ( | OptimizeValidateDeviceNonSupportLayerWithFallback | ) |
Definition at line 105 of file OptimizedNetworkTests.cpp.
References Graph::AllocateDynamicBuffers(), IOutputSlot::Connect(), armnn::CpuAcc, armnn::CpuRef, IRuntime::Create(), INetwork::Create(), armnn::Float32, armnn::GetGraphForTesting(), IConnectableLayer::GetInputSlot(), IConnectableLayer::GetOutputSlot(), armnn::Input, armnn::Normalization, armnn::Optimize(), armnn::Output, and IOutputSlot::SetTensorInfo().
BOOST_AUTO_TEST_CASE | ( | OptimizeValidateWorkloadsUndefinedComputeDevice | ) |
Definition at line 154 of file OptimizedNetworkTests.cpp.
References IOutputSlot::Connect(), IRuntime::Create(), INetwork::Create(), armnn::Float32, IConnectableLayer::GetInputSlot(), IConnectableLayer::GetOutputSlot(), armnn::Optimize(), IOutputSlot::SetTensorInfo(), and armnn::Undefined.
BOOST_AUTO_TEST_CASE | ( | OptimizeValidateWorkloadsUndefinedComputeDeviceWithFallback | ) |
Definition at line 225 of file OptimizedNetworkTests.cpp.
References Graph::AllocateDynamicBuffers(), IOutputSlot::Connect(), armnn::CpuRef, IRuntime::Create(), INetwork::Create(), armnn::Float32, armnn::GetGraphForTesting(), IConnectableLayer::GetInputSlot(), IConnectableLayer::GetOutputSlot(), armnn::Optimize(), IOutputSlot::SetTensorInfo(), and armnn::Undefined.
BOOST_AUTO_TEST_CASE | ( | OptimizeValidateWorkloadsDuplicateComputeDeviceWithFallback | ) |
Definition at line 299 of file OptimizedNetworkTests.cpp.
References Graph::AllocateDynamicBuffers(), BOOST_AUTO_TEST_SUITE_END(), IOutputSlot::Connect(), armnn::CpuAcc, armnn::CpuRef, IRuntime::Create(), INetwork::Create(), armnn::Float32, armnn::GetGraphForTesting(), IConnectableLayer::GetInputSlot(), IConnectableLayer::GetOutputSlot(), armnn::GpuAcc, armnn::Input, armnn::Normalization, armnn::Optimize(), armnn::Output, and IOutputSlot::SetTensorInfo().