提交 0d03cab5 编写于 作者: F fengjiayi

fix a compile error

上级 7dabee27
......@@ -56,7 +56,7 @@ size_t VarDesc::GetTensorDescNum() const {
}
void VarDesc::SetShapes(
const std::vector<const std::vector<int64_t>> &multiple_dims) {
const std::vector<std::vector<int64_t>> &multiple_dims) {
PADDLE_ENFORCE_EQ(multiple_dims.size(), GetTensorDescNum(),
"The number of given shapes(%d) doesn't equal to the "
"number of sub tensor.",
......
......@@ -74,7 +74,7 @@ class VarDesc {
void SetShape(const std::vector<int64_t> &dims);
void SetShapes(const std::vector<const std::vector<int64_t>> &multiple_dims);
void SetShapes(const std::vector<std::vector<int64_t>> &multiple_dims);
std::vector<int64_t> GetShape() const;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册