Go to the source code of this file.
|
template<armnn::DataType ArmnnType, typename T = armnn::ResolveType<ArmnnType>> |
LayerTestResult< T, 2 > | Log2dTest (armnn::IWorkloadFactory &workloadFactory, const armnn::IBackendInternal::IMemoryManagerSharedPtr &memoryManager, const armnn::ITensorHandleFactory &tensorHandleFactory) |
|
template<armnn::DataType ArmnnType, typename T = armnn::ResolveType<ArmnnType>> |
LayerTestResult< T, 3 > | Log3dTest (armnn::IWorkloadFactory &workloadFactory, const armnn::IBackendInternal::IMemoryManagerSharedPtr &memoryManager, const armnn::ITensorHandleFactory &tensorHandleFactory) |
|
template<armnn::DataType ArmnnType, typename T = armnn::ResolveType<ArmnnType>> |
LayerTestResult< T, 2 > | LogZeroTest (armnn::IWorkloadFactory &workloadFactory, const armnn::IBackendInternal::IMemoryManagerSharedPtr &memoryManager, const armnn::ITensorHandleFactory &tensorHandleFactory) |
|
template<armnn::DataType ArmnnType, typename T = armnn::ResolveType<ArmnnType>> |
LayerTestResult< T, 2 > | LogNegativeTest (armnn::IWorkloadFactory &workloadFactory, const armnn::IBackendInternal::IMemoryManagerSharedPtr &memoryManager, const armnn::ITensorHandleFactory &tensorHandleFactory) |
|
◆ Log2dTest()
Definition at line 10 of file LogTestImpl.cpp.
References armnn::Log.
15 const unsigned int inputShape[] = { 2, 2 };
17 std::vector<float> inputValues
23 std::vector<float> expectedOutputValues
25 1.09861228867f, 0.99999999997f,
29 return ElementwiseUnaryTestHelper<2, ArmnnType>(
◆ Log3dTest()
Definition at line 41 of file LogTestImpl.cpp.
References armnn::Log.
46 const unsigned int inputShape[] = { 3, 1, 2 };
48 std::vector<float> inputValues
55 std::vector<float> expectedOutputValues
57 1.60943791243f, 1.38629436112f,
58 1.09861228867f, 0.99999999997f,
62 return ElementwiseUnaryTestHelper<3, ArmnnType>(
◆ LogNegativeTest()
Definition at line 103 of file LogTestImpl.cpp.
References armnn::Log.
108 const unsigned int inputShape[] = { 1, 2 };
110 std::vector<float> inputValues
115 std::vector<float> expectedOutputValues
117 -std::numeric_limits<float>::quiet_NaN(), -std::numeric_limits<float>::quiet_NaN()
120 return ElementwiseUnaryTestHelper<2, ArmnnType>(
127 expectedOutputValues,
128 tensorHandleFactory);
◆ LogZeroTest()
Definition at line 74 of file LogTestImpl.cpp.
References armnn::Log.
79 const unsigned int inputShape[] = { 1, 2 };
81 std::vector<float> inputValues
86 std::vector<float> expectedOutputValues
88 -std::numeric_limits<float>::infinity(), -std::numeric_limits<float>::infinity()
91 return ElementwiseUnaryTestHelper<2, ArmnnType>(