ArmNN
 20.02
ResizeDescriptor Struct Reference

A ResizeDescriptor for the ResizeLayer. More...

#include <Descriptors.hpp>

Public Member Functions

 ResizeDescriptor ()
 
bool operator== (const ResizeDescriptor &rhs) const
 

Public Attributes

uint32_t m_TargetWidth
 Target width value. More...
 
uint32_t m_TargetHeight
 Target height value. More...
 
ResizeMethod m_Method
 The Interpolation method to use (Bilinear, NearestNeighbor). More...
 
DataLayout m_DataLayout
 The data layout to be used (NCHW, NHWC). More...
 
bool m_BilinearAlignCorners
 Aligned corners for bilinear method. More...
 

Detailed Description

A ResizeDescriptor for the ResizeLayer.

Definition at line 724 of file Descriptors.hpp.

Constructor & Destructor Documentation

◆ ResizeDescriptor()

ResizeDescriptor ( )
inline

Definition at line 726 of file Descriptors.hpp.

727  : m_TargetWidth(0)
728  , m_TargetHeight(0)
731  , m_BilinearAlignCorners(false)
732  {}
ResizeMethod m_Method
The Interpolation method to use (Bilinear, NearestNeighbor).
bool m_BilinearAlignCorners
Aligned corners for bilinear method.
uint32_t m_TargetWidth
Target width value.
uint32_t m_TargetHeight
Target height value.
DataLayout m_DataLayout
The data layout to be used (NCHW, NHWC).

Member Function Documentation

◆ operator==()

bool operator== ( const ResizeDescriptor rhs) const
inline

Definition at line 734 of file Descriptors.hpp.

References ResizeDescriptor::m_BilinearAlignCorners, ResizeDescriptor::m_DataLayout, ResizeDescriptor::m_Method, ResizeDescriptor::m_TargetHeight, and ResizeDescriptor::m_TargetWidth.

735  {
736  return m_TargetWidth == rhs.m_TargetWidth &&
737  m_TargetHeight == rhs.m_TargetHeight &&
738  m_Method == rhs.m_Method &&
739  m_DataLayout == rhs.m_DataLayout &&
740  m_BilinearAlignCorners == rhs.m_BilinearAlignCorners;
741  }
ResizeMethod m_Method
The Interpolation method to use (Bilinear, NearestNeighbor).
bool m_BilinearAlignCorners
Aligned corners for bilinear method.
uint32_t m_TargetWidth
Target width value.
uint32_t m_TargetHeight
Target height value.
DataLayout m_DataLayout
The data layout to be used (NCHW, NHWC).

Member Data Documentation

◆ m_BilinearAlignCorners

bool m_BilinearAlignCorners

Aligned corners for bilinear method.

Definition at line 753 of file Descriptors.hpp.

Referenced by RefResizeWorkload::Execute(), and ResizeDescriptor::operator==().

◆ m_DataLayout

◆ m_Method

◆ m_TargetHeight

◆ m_TargetWidth


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