#ifndef __OPENCV_DNN_LAYERS_SLICE_LAYER_HPP__ #define __OPENCV_DNN_LAYERS_SLICE_LAYER_HPP__ #include "../precomp.hpp" namespace cv { namespace dnn { class SliceLayer : public Layer { public: SliceLayer(LayerParams ¶ms); void allocate(const std::vector &inputs, std::vector &outputs); void forward(std::vector &inputs, std::vector &outputs); private: int inAxis; std::vector slicePoints; }; } } #endif