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

24 lines
452 B
C++
Executable File

#ifndef LAYER_CONSTANTOFSHAPE_H
#define LAYER_CONSTANTOFSHAPE_H
#include "layer.h"
namespace mmdeploy {
class ConstantOfShape : public ncnn::Layer {
public:
ConstantOfShape();
virtual int load_param(const ncnn::ParamDict& pd);
virtual int forward(const ncnn::Mat& bottom_blob, ncnn::Mat& top_blob,
const ncnn::Option& opt) const;
public:
float val;
};
} // namespace mmdeploy
#endif // LAYER_CONSTANTOFSHAPE_H