1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 07:43:03 +04:00

Nearest neighbor resize layer

This commit is contained in:
Dmitry Kurtaev
2017-10-06 14:24:01 +03:00
parent 5f6ce6f4b0
commit b9f94c9315
5 changed files with 104 additions and 0 deletions
@@ -539,6 +539,17 @@ CV__DNN_EXPERIMENTAL_NS_BEGIN
static Ptr<NormalizeBBoxLayer> create(const LayerParams& params);
};
/**
* @brief Resize input 4-dimensional blob by nearest neghbor strategy.
*
* Layer is used to support TensorFlow's resize_nearest_neighbor op.
*/
class CV_EXPORTS ResizeNearestNeighborLayer : public Layer
{
public:
static Ptr<ResizeNearestNeighborLayer> create(const LayerParams& params);
};
//! @}
//! @}
CV__DNN_EXPERIMENTAL_NS_END