mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 15:53:03 +04:00
Added ResizeBilinear op for tf (#11050)
* Added ResizeBilinear op for tf Combined ResizeNearestNeighbor and ResizeBilinear layers into Resize (with an interpolation param). Minor changes to tf_importer and resize layer to save some code lines Minor changes in init.cpp Minor changes in tf_importer.cpp * Replaced implementation of a custom ResizeBilinear layer to all layers * Use Mat::ptr. Replace interpolation flags
This commit is contained in:
@@ -565,14 +565,14 @@ CV__DNN_EXPERIMENTAL_NS_BEGIN
|
||||
};
|
||||
|
||||
/**
|
||||
* @brief Resize input 4-dimensional blob by nearest neighbor strategy.
|
||||
* @brief Resize input 4-dimensional blob by nearest neighbor or bilinear strategy.
|
||||
*
|
||||
* Layer is used to support TensorFlow's resize_nearest_neighbor op.
|
||||
* Layer is used to support TensorFlow's resize_nearest_neighbor and resize_bilinear ops.
|
||||
*/
|
||||
class CV_EXPORTS ResizeNearestNeighborLayer : public Layer
|
||||
class CV_EXPORTS ResizeLayer : public Layer
|
||||
{
|
||||
public:
|
||||
static Ptr<ResizeNearestNeighborLayer> create(const LayerParams& params);
|
||||
static Ptr<ResizeLayer> create(const LayerParams& params);
|
||||
};
|
||||
|
||||
class CV_EXPORTS ProposalLayer : public Layer
|
||||
|
||||
Reference in New Issue
Block a user