q.yao ea3078aa56
Update custom ops namespace (#158)
* Update custom ops namespace

* rename register, rename generated library name

* rename domain to mmcv
2021-11-01 10:48:21 +08:00

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