提交 67b2602e 编写于 作者: Z zhangyang

add const attribute

上级 46d801bc
......@@ -257,12 +257,10 @@ class Tensor {
struct FPGAArgs {
float scale;
inline float *scale_pointer() { return &scale; }
inline float *scale_pointer() const { return &scale; }
};
struct FPGAArgs &fpga_args() {
return fpgaArgs_;
}
const struct FPGAArgs &fpga_args() const { return fpgaArgs_; }
#endif
private:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册