Go to the source code of this file.
|
template<armnn::DataType ArmnnType, typename T = armnn::ResolveType<ArmnnType>> |
LayerTestResult< T, 2 > | Sin2dTest (armnn::IWorkloadFactory &workloadFactory, const armnn::IBackendInternal::IMemoryManagerSharedPtr &memoryManager, const armnn::ITensorHandleFactory &tensorHandleFactory) |
|
template<armnn::DataType ArmnnType, typename T = armnn::ResolveType<ArmnnType>> |
LayerTestResult< T, 3 > | Sin3dTest (armnn::IWorkloadFactory &workloadFactory, const armnn::IBackendInternal::IMemoryManagerSharedPtr &memoryManager, const armnn::ITensorHandleFactory &tensorHandleFactory) |
|
template<armnn::DataType ArmnnType, typename T = armnn::ResolveType<ArmnnType>> |
LayerTestResult< T, 2 > | SinZeroTest (armnn::IWorkloadFactory &workloadFactory, const armnn::IBackendInternal::IMemoryManagerSharedPtr &memoryManager, const armnn::ITensorHandleFactory &tensorHandleFactory) |
|
template<armnn::DataType ArmnnType, typename T = armnn::ResolveType<ArmnnType>> |
LayerTestResult< T, 2 > | SinNegativeTest (armnn::IWorkloadFactory &workloadFactory, const armnn::IBackendInternal::IMemoryManagerSharedPtr &memoryManager, const armnn::ITensorHandleFactory &tensorHandleFactory) |
|
◆ Sin2dTest()
Definition at line 10 of file SinTestImpl.cpp.
References armnn::Sin.
15 const unsigned int inputShape[] = { 2, 2 };
17 std::vector<float> inputValues
23 std::vector<float> expectedOutputValues
25 0.14112000806f, 0.90929742682f,
26 0.8414709848f, 0.89120736006f
29 return ElementwiseUnaryTestHelper<2, ArmnnType>(
◆ Sin3dTest()
Definition at line 41 of file SinTestImpl.cpp.
References armnn::Sin.
46 const unsigned int inputShape[] = { 3, 1, 2 };
48 std::vector<float> inputValues
55 std::vector<float> expectedOutputValues
57 -0.95892427466f, -0.7568024953f,
58 0.14112000806f, 0.90929742682f,
59 0.8414709848f, 0.89120736006f
62 return ElementwiseUnaryTestHelper<3, ArmnnType>(
◆ SinNegativeTest()
Definition at line 103 of file SinTestImpl.cpp.
References armnn::Sin.
108 const unsigned int inputShape[] = { 1, 2 };
110 std::vector<float> inputValues
115 std::vector<float> expectedOutputValues
117 0.37387666483f, 0.46460217941f,
120 return ElementwiseUnaryTestHelper<2, ArmnnType>(
127 expectedOutputValues,
128 tensorHandleFactory);
◆ SinZeroTest()
Definition at line 74 of file SinTestImpl.cpp.
References armnn::Sin.
79 const unsigned int inputShape[] = { 1, 2 };
81 std::vector<float> inputValues
86 std::vector<float> expectedOutputValues
91 return ElementwiseUnaryTestHelper<2, ArmnnType>(