ArmNN
 20.02
NormalizationTestImpl.cpp File Reference

Go to the source code of this file.

Functions

LayerTestResult< float, 4 > SimpleNormalizationAcrossTest (armnn::IWorkloadFactory &workloadFactory, const armnn::IBackendInternal::IMemoryManagerSharedPtr &memoryManager)
 
LayerTestResult< float, 4 > SimpleNormalizationWithinTest (armnn::IWorkloadFactory &workloadFactory, const armnn::IBackendInternal::IMemoryManagerSharedPtr &memoryManager)
 
LayerTestResult< float, 4 > SimpleNormalizationAcrossNhwcTest (armnn::IWorkloadFactory &workloadFactory, const armnn::IBackendInternal::IMemoryManagerSharedPtr &memoryManager)
 
LayerTestResult< float, 4 > CompareNormalizationTest (armnn::IWorkloadFactory &workloadFactory, const armnn::IBackendInternal::IMemoryManagerSharedPtr &memoryManager, armnn::IWorkloadFactory &refWorkloadFactory, armnn::NormalizationAlgorithmChannel normChannel, armnn::NormalizationAlgorithmMethod normMethod)
 

Function Documentation

◆ CompareNormalizationTest()

LayerTestResult<float,4> CompareNormalizationTest ( armnn::IWorkloadFactory workloadFactory,
const armnn::IBackendInternal::IMemoryManagerSharedPtr memoryManager,
armnn::IWorkloadFactory refWorkloadFactory,
armnn::NormalizationAlgorithmChannel  normChannel,
armnn::NormalizationAlgorithmMethod  normMethod 
)

Definition at line 385 of file NormalizationTestImpl.cpp.

391 {
392  return CompareNormalizationTestImpl(workloadFactory, memoryManager, refWorkloadFactory, normChannel, normMethod);
393 }

◆ SimpleNormalizationAcrossNhwcTest()

LayerTestResult<float,4> SimpleNormalizationAcrossNhwcTest ( armnn::IWorkloadFactory workloadFactory,
const armnn::IBackendInternal::IMemoryManagerSharedPtr memoryManager 
)

Definition at line 376 of file NormalizationTestImpl.cpp.

References armnn::Across, and armnn::LocalBrightness.

379 {
382  return SimpleNormalizationNhwcTestImpl(workloadFactory, memoryManager, normChannel, normMethod);
383 }
Krichevsky 2012: Local Brightness Normalization.

◆ SimpleNormalizationAcrossTest()

LayerTestResult<float,4> SimpleNormalizationAcrossTest ( armnn::IWorkloadFactory workloadFactory,
const armnn::IBackendInternal::IMemoryManagerSharedPtr memoryManager 
)

Definition at line 358 of file NormalizationTestImpl.cpp.

References armnn::Across, and armnn::LocalBrightness.

361 {
364  return SimpleNormalizationTestImpl(workloadFactory, memoryManager, normChannel, normMethod);
365 }
Krichevsky 2012: Local Brightness Normalization.

◆ SimpleNormalizationWithinTest()

LayerTestResult<float,4> SimpleNormalizationWithinTest ( armnn::IWorkloadFactory workloadFactory,
const armnn::IBackendInternal::IMemoryManagerSharedPtr memoryManager 
)

Definition at line 367 of file NormalizationTestImpl.cpp.

References armnn::LocalBrightness, and armnn::Within.

370 {
373  return SimpleNormalizationTestImpl(workloadFactory, memoryManager, normChannel, normMethod);
374 }
Krichevsky 2012: Local Brightness Normalization.