, m_Method(ResizeMethod::NearestNeighbor)
, m_DataLayout(DataLayout::NCHW)
, m_BilinearAlignCorners(false)
+ , m_HalfPixelCenters(false)
{}
bool operator ==(const ResizeDescriptor& rhs) const
m_TargetHeight == rhs.m_TargetHeight &&
m_Method == rhs.m_Method &&
m_DataLayout == rhs.m_DataLayout &&
- m_BilinearAlignCorners == rhs.m_BilinearAlignCorners;
+ m_BilinearAlignCorners == rhs.m_BilinearAlignCorners &&
+ m_HalfPixelCenters == rhs.m_HalfPixelCenters;
}
/// Target width value.
DataLayout m_DataLayout;
/// Aligned corners for bilinear method
bool m_BilinearAlignCorners;
+ /// Half Pixel Centers
+ bool m_HalfPixelCenters;
};