mirror of
https://github.com/open-mmlab/mmdeploy.git
synced 2025-01-14 08:09:43 +08:00
* Update custom ops namespace * rename register, rename generated library name * rename domain to mmcv
25 lines
456 B
C++
Executable File
25 lines
456 B
C++
Executable File
#ifndef LAYER_GATHER_H
|
|
#define LAYER_GATHER_H
|
|
|
|
#include "layer.h"
|
|
|
|
namespace mmdeploy {
|
|
|
|
class Gather : public ncnn::Layer {
|
|
public:
|
|
Gather();
|
|
|
|
virtual int load_param(const ncnn::ParamDict& pd);
|
|
|
|
virtual int forward(const std::vector<ncnn::Mat>& bottom_blobs,
|
|
std::vector<ncnn::Mat>& top_blobs,
|
|
const ncnn::Option& opt) const;
|
|
|
|
public:
|
|
int axis;
|
|
};
|
|
|
|
} // namespace mmdeploy
|
|
|
|
#endif // LAYER_GATHER_H
|