提交 f187b057 编写于 作者: W willzhang4a58

add getter for op

上级 3f5ae250
......@@ -44,6 +44,8 @@ class Kernel {
protected:
Kernel() = default;
const Operator* op() const { return op_.get(); }
private:
std::unique_ptr<const Operator> op_;
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册