24.02
|
A ResizeDescriptor for the ResizeLayer. More...
#include <Descriptors.hpp>
Public Member Functions | |
ResizeDescriptor () | |
bool | operator== (const ResizeDescriptor &rhs) const |
Public Member Functions inherited from BaseDescriptor | |
virtual bool | IsNull () const |
virtual | ~BaseDescriptor ()=default |
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_AlignCorners |
Aligned corners. More... | |
bool | m_HalfPixelCenters |
Half Pixel Centers. More... | |
A ResizeDescriptor for the ResizeLayer.
Definition at line 985 of file Descriptors.hpp.
|
inline |
|
inline |
Definition at line 996 of file Descriptors.hpp.
References ResizeDescriptor::m_AlignCorners, ResizeDescriptor::m_DataLayout, ResizeDescriptor::m_HalfPixelCenters, ResizeDescriptor::m_Method, ResizeDescriptor::m_TargetHeight, and ResizeDescriptor::m_TargetWidth.
bool m_AlignCorners |
Aligned corners.
Definition at line 1016 of file Descriptors.hpp.
Referenced by ConvertResizeToTosaOperator(), CreateResizeAttributes(), ResizeLayer::InferOutputShapes(), ResizeDescriptor::operator==(), and StringifyLayerParameters< ResizeDescriptor >::Serialize().
DataLayout m_DataLayout |
The data layout to be used (NCHW, NHWC).
Definition at line 1014 of file Descriptors.hpp.
Referenced by ConvertResizeToTosaOperator(), ResizeLayer::InferOutputShapes(), ResizeDescriptor::operator==(), StringifyLayerParameters< ResizeDescriptor >::Serialize(), and ResizeQueueDescriptor::Validate().
bool m_HalfPixelCenters |
Half Pixel Centers.
Definition at line 1018 of file Descriptors.hpp.
Referenced by ConvertResizeToTosaOperator(), CreateResizeAttributes(), ResizeLayer::InferOutputShapes(), ResizeDescriptor::operator==(), and StringifyLayerParameters< ResizeDescriptor >::Serialize().
ResizeMethod m_Method |
The Interpolation method to use (Bilinear, NearestNeighbor).
Definition at line 1012 of file Descriptors.hpp.
Referenced by ConvertResizeToTosaOperator(), CreateResizeAttributes(), ResizeDescriptor::operator==(), and StringifyLayerParameters< ResizeDescriptor >::Serialize().
uint32_t m_TargetHeight |
Target height value.
Definition at line 1009 of file Descriptors.hpp.
Referenced by ConvertResizeToTosaOperator(), CreateResizeAttributes(), ResizeLayer::InferOutputShapes(), ResizeDescriptor::operator==(), and StringifyLayerParameters< ResizeDescriptor >::Serialize().
uint32_t m_TargetWidth |
Target width value.
Definition at line 1007 of file Descriptors.hpp.
Referenced by ConvertResizeToTosaOperator(), CreateResizeAttributes(), ResizeLayer::InferOutputShapes(), ResizeDescriptor::operator==(), and StringifyLayerParameters< ResizeDescriptor >::Serialize().