21.11
|
#include "LayerTestResult.hpp"
#include <ResolveType.hpp>
#include <armnn/Types.hpp>
#include <armnn/backends/IBackendInternal.hpp>
#include <backendsCommon/WorkloadFactory.hpp>
Go to the source code of this file.
LayerTestResult<T, 2> Pad2dTestCommon | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory, | ||
float | qScale, | ||
int32_t | qOffset, | ||
const float | customPaddingValue = 0.0f |
||
) |
Definition at line 20 of file PadTestImpl.cpp.
References CopyDataFromITensorHandle(), CopyDataToITensorHandle(), IWorkloadFactory::CreatePad(), ITensorHandleFactory::CreateTensorHandle(), TensorInfo::GetNumElements(), TensorInfo::GetShape(), armnn::IgnoreUnused(), PadDescriptor::m_PadList, PadDescriptor::m_PadValue, and QueueDescriptorWithParameters< LayerDescriptor >::m_Parameters.
LayerTestResult<T, 3> Pad3dTestCommon | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory, | ||
float | qScale, | ||
int32_t | qOffset | ||
) |
Definition at line 94 of file PadTestImpl.cpp.
References CopyDataFromITensorHandle(), CopyDataToITensorHandle(), IWorkloadFactory::CreatePad(), ITensorHandleFactory::CreateTensorHandle(), TensorInfo::GetNumElements(), TensorInfo::GetShape(), armnn::IgnoreUnused(), PadDescriptor::m_PadList, and QueueDescriptorWithParameters< LayerDescriptor >::m_Parameters.
LayerTestResult<T, 4> Pad4dTestCommon | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory, | ||
float | qScale, | ||
int32_t | qOffset | ||
) |
Definition at line 179 of file PadTestImpl.cpp.
References CopyDataFromITensorHandle(), CopyDataToITensorHandle(), IWorkloadFactory::CreatePad(), ITensorHandleFactory::CreateTensorHandle(), TensorInfo::GetNumElements(), TensorInfo::GetShape(), armnn::IgnoreUnused(), PadDescriptor::m_PadList, and QueueDescriptorWithParameters< LayerDescriptor >::m_Parameters.
LayerTestResult<armnn::BFloat16, 2> PadBFloat162dCustomPaddingTest | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory | ||
) |
Definition at line 616 of file PadTestImpl.cpp.
Referenced by TEST_SUITE().
LayerTestResult<armnn::BFloat16, 2> PadBFloat162dTest | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory | ||
) |
Definition at line 608 of file PadTestImpl.cpp.
Referenced by TEST_SUITE().
LayerTestResult<armnn::BFloat16, 3> PadBFloat163dTest | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory | ||
) |
Definition at line 625 of file PadTestImpl.cpp.
Referenced by TEST_SUITE().
LayerTestResult<armnn::BFloat16, 4> PadBFloat164dTest | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory | ||
) |
Definition at line 633 of file PadTestImpl.cpp.
Referenced by TEST_SUITE().
LayerTestResult<float, 2> PadFloat322dCustomPaddingTest | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory | ||
) |
Definition at line 583 of file PadTestImpl.cpp.
Referenced by TEST_SUITE().
LayerTestResult<float, 2> PadFloat322dTest | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory | ||
) |
Definition at line 575 of file PadTestImpl.cpp.
Referenced by TEST_SUITE().
LayerTestResult<float, 3> PadFloat323dTest | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory | ||
) |
Definition at line 592 of file PadTestImpl.cpp.
Referenced by TEST_SUITE().
LayerTestResult<float, 4> PadFloat324dTest | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory | ||
) |
Definition at line 600 of file PadTestImpl.cpp.
Referenced by TEST_SUITE().
LayerTestResult<int8_t, 2> PadInt82dAsymmTest | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory | ||
) |
LayerTestResult<int8_t, 2> PadInt82dCustomPaddingAsymmTest | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory | ||
) |
LayerTestResult<int8_t, 2> PadInt82dCustomPaddingTest | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory | ||
) |
Definition at line 650 of file PadTestImpl.cpp.
Referenced by TEST_SUITE().
LayerTestResult<int8_t, 2> PadInt82dTest | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory | ||
) |
Definition at line 641 of file PadTestImpl.cpp.
Referenced by TEST_SUITE().
LayerTestResult<int8_t, 3> PadInt83dTest | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory | ||
) |
Definition at line 659 of file PadTestImpl.cpp.
Referenced by TEST_SUITE().
LayerTestResult<int8_t, 4> PadInt84dTest | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory | ||
) |
Definition at line 667 of file PadTestImpl.cpp.
Referenced by TEST_SUITE().
LayerTestResult<T, 2> PadQAsymmTestCommon | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory, | ||
float | qScale, | ||
int32_t | qOffset, | ||
const float | customPaddingValue = 0.0f |
||
) |
Definition at line 419 of file PadTestImpl.cpp.
References CopyDataFromITensorHandle(), CopyDataToITensorHandle(), IWorkloadFactory::CreatePad(), ITensorHandleFactory::CreateTensorHandle(), TensorInfo::GetNumElements(), TensorInfo::GetShape(), armnn::IgnoreUnused(), PadDescriptor::m_PadList, PadDescriptor::m_PadValue, and QueueDescriptorWithParameters< LayerDescriptor >::m_Parameters.
LayerTestResult<uint8_t, 2> PadUint82dCustomPaddingTest | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory | ||
) |
Definition at line 550 of file PadTestImpl.cpp.
Referenced by TEST_SUITE().
LayerTestResult<uint8_t, 2> PadUint82dTest | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory | ||
) |
Definition at line 542 of file PadTestImpl.cpp.
Referenced by TEST_SUITE().
LayerTestResult<uint8_t, 3> PadUint83dTest | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory | ||
) |
Definition at line 559 of file PadTestImpl.cpp.
Referenced by TEST_SUITE().
LayerTestResult<uint8_t, 4> PadUint84dTest | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory | ||
) |
Definition at line 567 of file PadTestImpl.cpp.
Referenced by TEST_SUITE().