ArmNN
 21.02
LayerTestResult< T, n > Struct Template Reference

#include <LayerTestResult.hpp>

Public Member Functions

 LayerTestResult (const armnn::TensorInfo &outputInfo)
 

Public Attributes

boost::multi_array< T, n > output
 
boost::multi_array< T, n > outputExpected
 
bool supported
 
bool compareBoolean
 

Detailed Description

template<typename T, std::size_t n>
struct LayerTestResult< T, n >

Definition at line 30 of file LayerTestResult.hpp.

Constructor & Destructor Documentation

◆ LayerTestResult()

LayerTestResult ( const armnn::TensorInfo outputInfo)
inline

Definition at line 32 of file LayerTestResult.hpp.

References LayerTestResult< T, n >::compareBoolean, LayerTestResult< T, n >::output, LayerTestResult< T, n >::outputExpected, and LayerTestResult< T, n >::supported.

33  {
34  auto shape( GetTensorShapeAsArray<n>(outputInfo) );
35  output.resize(shape);
36  outputExpected.resize(shape);
37  supported = true;
38  compareBoolean = false;
39  }
boost::multi_array< T, n > outputExpected
boost::multi_array< T, n > output

Member Data Documentation

◆ compareBoolean

◆ output

◆ outputExpected

◆ supported

bool supported

The documentation for this struct was generated from the following file: