提交 5c10a5ad 编写于 作者: S Superjom

remove virtual

上级 9f235756
......@@ -91,8 +91,6 @@ class Net {
* @brief Create a network.
*/
static std::unique_ptr<Net> Create(const NetDesc &def = NetDesc());
virtual ~Net() = 0;
};
/**
......@@ -142,8 +140,6 @@ class PlainNet : public Net {
*/
virtual void AddBackwardOps() override;
virtual ~PlainNet() override {}
protected:
/**
* @brief Build the network.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册