diff options
Diffstat (limited to 'test/Lstm.hpp')
-rw-r--r-- | test/Lstm.hpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/test/Lstm.hpp b/test/Lstm.hpp index f9f1a761..21056c3d 100644 --- a/test/Lstm.hpp +++ b/test/Lstm.hpp @@ -9,9 +9,10 @@ #include <armnn/utility/IgnoreUnused.hpp> -#include <boost/array.hpp> #include <boost/math/special_functions/relative_difference.hpp> +#include <array> + using ArmnnDriver = armnn_driver::ArmnnDriver; using DriverOptions = armnn_driver::DriverOptions; @@ -95,9 +96,9 @@ void ExecuteModel<armnn_driver::hal_1_2::HalPolicy::Model>(const armnn_driver::h } // anonymous namespace #ifndef ARMCOMPUTECL_ENABLED -static const boost::array<armnn::Compute, 1> COMPUTE_DEVICES = {{ armnn::Compute::CpuRef }}; +static const std::array<armnn::Compute, 1> COMPUTE_DEVICES = {{ armnn::Compute::CpuRef }}; #else -static const boost::array<armnn::Compute, 2> COMPUTE_DEVICES = {{ armnn::Compute::CpuRef, armnn::Compute::GpuAcc }}; +static const std::array<armnn::Compute, 2> COMPUTE_DEVICES = {{ armnn::Compute::CpuRef, armnn::Compute::GpuAcc }}; #endif // Add our own tests here since we fail the lstm tests which Google supplies (because of non-const weights) |