@ -39,7 +39,7 @@ proto::ProgramDesc *ProgramDesc::Proto() {
return &desc_;
}
int ProgramDesc::Version() const { return desc_.version().version(); }
int64_t ProgramDesc::Version() const { return desc_.version().version(); }
ProgramDesc::ProgramDesc() {
desc_.mutable_version()->set_version(kCurProgramVersion);
@ -57,7 +57,7 @@ class ProgramDesc {
proto::ProgramDesc *Proto();
int Version() const;
int64_t Version() const;
// The output variable of feed_op is referenced as feed_target.
// This function is used to collect the output variable's name of all
@ -1,4 +1,4 @@
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserved.
/* Copyright (c) 2018 PaddlePaddle Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.