21.08
|
#include <LayerTestResult.hpp>
Public Member Functions | |
LayerTestResult (const armnn::TensorInfo &outputInfo) | |
LayerTestResult (const std::vector< T > &actualData, const std::vector< T > &expectedData, const armnn::TensorShape &actualShape, const armnn::TensorShape &expectedShape) | |
LayerTestResult (const std::vector< T > &actualData, const std::vector< T > &expectedData, const armnn::TensorShape &actualShape, const armnn::TensorShape &expectedShape, const bool compareBoolean) | |
Public Attributes | |
std::vector< T > | m_ActualData |
std::vector< T > | m_ExpectedData |
armnn::TensorShape | m_ActualShape |
armnn::TensorShape | m_ExpectedShape |
bool | m_Supported |
bool | m_CompareBoolean |
Definition at line 15 of file LayerTestResult.hpp.
|
inline |
Definition at line 17 of file LayerTestResult.hpp.
References TensorInfo::GetNumElements(), TensorInfo::GetShape(), LayerTestResult< T, n >::m_ActualData, LayerTestResult< T, n >::m_ActualShape, LayerTestResult< T, n >::m_ExpectedData, and LayerTestResult< T, n >::m_ExpectedShape.
|
inline |
Definition at line 27 of file LayerTestResult.hpp.
|
inline |
Definition at line 39 of file LayerTestResult.hpp.
std::vector<T> m_ActualData |
Definition at line 52 of file LayerTestResult.hpp.
Referenced by CompareBoundedReLuTest(), CompareTestResultIfSupported(), LayerTestResult< T, n >::LayerTestResult(), SimpleFullyConnectedTestImpl(), TEST_CASE_FIXTURE(), and TEST_SUITE().
armnn::TensorShape m_ActualShape |
Definition at line 54 of file LayerTestResult.hpp.
Referenced by CompareTestResultIfSupported(), LayerTestResult< T, n >::LayerTestResult(), TEST_CASE_FIXTURE(), and TEST_SUITE().
bool m_CompareBoolean |
Definition at line 58 of file LayerTestResult.hpp.
Referenced by CompareTestResultIfSupported().
std::vector<T> m_ExpectedData |
Definition at line 53 of file LayerTestResult.hpp.
Referenced by CompareBoundedReLuTest(), CompareTestResultIfSupported(), Concat2dDim0TestImpl(), Concat2dDim1TestImpl(), Concat3dDim0TestImpl(), Concat3dDim1TestImpl(), Concat3dDim2TestImpl(), Concat4dDim0TestImpl(), Concat4dDim1TestImpl(), Concat4dDim2TestImpl(), Concat4dDim3TestImpl(), FullyConnectedFloat32Test(), FullyConnectedLargeTestCommon(), FullyConnectedTest(), LayerTestResult< T, n >::LayerTestResult(), TEST_CASE_FIXTURE(), and TEST_SUITE().
armnn::TensorShape m_ExpectedShape |
Definition at line 55 of file LayerTestResult.hpp.
Referenced by CompareTestResultIfSupported(), LayerTestResult< T, n >::LayerTestResult(), TEST_CASE_FIXTURE(), and TEST_SUITE().
bool m_Supported |
Definition at line 57 of file LayerTestResult.hpp.
Referenced by CompareTestResultIfSupported().