Go to the source code of this file.
|
template<armnn::DataType ArmnnType, typename T = armnn::ResolveType<ArmnnType>> |
LayerTestResult< T, 2 > | Rsqrt2dTest (armnn::IWorkloadFactory &workloadFactory, const armnn::IBackendInternal::IMemoryManagerSharedPtr &memoryManager, const armnn::ITensorHandleFactory &tensorHandleFactory) |
|
template<armnn::DataType ArmnnType, typename T = armnn::ResolveType<ArmnnType>> |
LayerTestResult< T, 3 > | Rsqrt3dTest (armnn::IWorkloadFactory &workloadFactory, const armnn::IBackendInternal::IMemoryManagerSharedPtr &memoryManager, const armnn::ITensorHandleFactory &tensorHandleFactory) |
|
template<armnn::DataType ArmnnType, typename T = armnn::ResolveType<ArmnnType>> |
LayerTestResult< T, 2 > | RsqrtZeroTest (armnn::IWorkloadFactory &workloadFactory, const armnn::IBackendInternal::IMemoryManagerSharedPtr &memoryManager, const armnn::ITensorHandleFactory &tensorHandleFactory) |
|
template<armnn::DataType ArmnnType, typename T = armnn::ResolveType<ArmnnType>> |
LayerTestResult< T, 2 > | RsqrtNegativeTest (armnn::IWorkloadFactory &workloadFactory, const armnn::IBackendInternal::IMemoryManagerSharedPtr &memoryManager, const armnn::ITensorHandleFactory &tensorHandleFactory) |
|
◆ Rsqrt2dTest()
Definition at line 11 of file RsqrtTestImpl.cpp.
References armnn::Rsqrt.
16 const unsigned int inputShape[] = { 2, 2 };
18 std::vector<float> inputValues
24 std::vector<float> expectedOutputValues
30 return ElementwiseUnaryTestHelper<2, ArmnnType>(
◆ Rsqrt3dTest()
Definition at line 42 of file RsqrtTestImpl.cpp.
References armnn::Rsqrt.
47 const unsigned int inputShape[] = { 3, 1, 2 };
49 std::vector<float> inputValues
55 std::vector<float> expectedOutputValues
61 return ElementwiseUnaryTestHelper<3, ArmnnType>(
◆ RsqrtNegativeTest()
Definition at line 102 of file RsqrtTestImpl.cpp.
References armnn::Rsqrt.
107 const unsigned int inputShape[] = { 1, 2 };
109 std::vector<float> inputValues
114 std::vector<float> expectedOutputValues
119 return ElementwiseUnaryTestHelper<2, ArmnnType>(
126 expectedOutputValues,
127 tensorHandleFactory);
◆ RsqrtZeroTest()
Definition at line 73 of file RsqrtTestImpl.cpp.
References armnn::Rsqrt.
78 const unsigned int inputShape[] = { 1, 2 };
80 std::vector<float> inputValues
85 std::vector<float> expectedOutputValues
90 return ElementwiseUnaryTestHelper<2, ArmnnType>(