Home
last modified time | relevance | path

Searched refs:TestTensor (Results 1 – 6 of 6) sorted by relevance

/external/android-nn-driver/test/
DConcat.cpp35 ConcatTestImpl(const std::vector<const TestTensor*> & inputs, in ConcatTestImpl()
37 const TestTensor & expectedOutputTensor, in ConcatTestImpl()
153 TestTensor aIn{armnn::TensorShape{1,1,1,1},{0}}; in BOOST_DATA_TEST_CASE()
154 TestTensor bIn{armnn::TensorShape{1,1,1,1},{1}}; in BOOST_DATA_TEST_CASE()
155 TestTensor cIn{armnn::TensorShape{1,1,1,1},{2}}; in BOOST_DATA_TEST_CASE()
157 TestTensor expected{armnn::TensorShape{3,1,1,1},{0,1,2}}; in BOOST_DATA_TEST_CASE()
165 TestTensor aIn{armnn::TensorShape{2,1,2,1},{0, 1, in BOOST_DATA_TEST_CASE()
167 TestTensor bIn{armnn::TensorShape{3,1,2,1},{4, 5, in BOOST_DATA_TEST_CASE()
170 TestTensor cIn{armnn::TensorShape{1,1,2,1},{10, 11}}; in BOOST_DATA_TEST_CASE()
172 TestTensor expected{armnn::TensorShape{6,1,2,1},{0, 1, in BOOST_DATA_TEST_CASE()
[all …]
DTestTensor.cpp10 hidl_vec<uint32_t> TestTensor::GetDimensions() const in GetDimensions()
21 unsigned int TestTensor::GetNumElements() const in GetNumElements()
26 const float * TestTensor::GetData() const in GetData()
DTestTensor.hpp14 class TestTensor class
17 TestTensor(const armnn::TensorShape & shape, in TestTensor() function in driverTestHelpers::TestTensor
DAndroid.mk75 TestTensor.cpp
192 TestTensor.cpp
300 TestTensor.cpp
401 TestTensor.cpp
/external/android-nn-driver/test/1.1/
DMean.cpp32 void MeanTestImpl(const TestTensor& input, in MeanTestImpl()
36 const TestTensor& expectedOutput, in MeanTestImpl()
110TestTensor input{ armnn::TensorShape{ 4, 3, 2 }, { 1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, 8.0f,… in BOOST_DATA_TEST_CASE()
116 TestTensor expectedOutput{ armnn::TensorShape{ 2 }, { 12.0f, 13.0f } }; in BOOST_DATA_TEST_CASE()
123 TestTensor input{ armnn::TensorShape{ 1, 1, 3, 2 }, { 1.0f, 1.0f, 2.0f, 2.0f, 3.0f, 3.0f } }; in BOOST_DATA_TEST_CASE()
127 TestTensor expectedOutput{ armnn::TensorShape{ 1, 1, 1, 2 }, { 2.0f, 2.0f } }; in BOOST_DATA_TEST_CASE()
134TestTensor input{ armnn::TensorShape{ 4, 3, 2 }, { 1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, 8.0f,… in BOOST_DATA_TEST_CASE()
140 TestTensor expectedOutput{ armnn::TensorShape{ 2 }, { 12.0f, 13.0f } }; in BOOST_DATA_TEST_CASE()
147 TestTensor input{ armnn::TensorShape{ 1, 1, 3, 2 }, { 1.0f, 1.0f, 2.0f, 2.0f, 3.0f, 3.0f } }; in BOOST_DATA_TEST_CASE()
151 TestTensor expectedOutput{ armnn::TensorShape{ 1, 1, 1, 2 }, { 2.0f, 2.0f } }; in BOOST_DATA_TEST_CASE()
DTranspose.cpp37 void TransposeTestImpl(const TestTensor & inputs, int32_t perm[], in TransposeTestImpl()
38 const TestTensor & expectedOutputTensor, armnn::Compute computeDevice) in TransposeTestImpl()
109 TestTensor input{armnn::TensorShape{1, 2, 2, 2},{1, 2, 3, 4, 5, 6, 7, 8}}; in BOOST_DATA_TEST_CASE()
110 TestTensor expected{armnn::TensorShape{2, 2, 2, 1},{1, 5, 2, 6, 3, 7, 4, 8}}; in BOOST_DATA_TEST_CASE()
118 TestTensor input{armnn::TensorShape{1, 2, 2, 3},{1, 2, 3, 11, 12, 13, 21, 22, 23, 31, 32, 33}}; in BOOST_DATA_TEST_CASE()
119TestTensor expected{armnn::TensorShape{1, 3, 2, 2},{1, 11, 21, 31, 2, 12, 22, 32, 3, 13, 23, 33}}; in BOOST_DATA_TEST_CASE()
127 TestTensor input{armnn::TensorShape{1, 2, 2, 2},{1, 2, 3, 4, 5, 6, 7, 8}}; in BOOST_DATA_TEST_CASE()
128 TestTensor expected{armnn::TensorShape{1, 2, 2, 2},{1, 5, 2, 6, 3, 7, 4, 8}}; in BOOST_DATA_TEST_CASE()