22 lines
338 B
C
22 lines
338 B
C
#pragma once
|
|
|
|
#include <string>
|
|
|
|
namespace paddle {
|
|
namespace framework {
|
|
|
|
static std::string paddle_commit() {
|
|
return "@PADDLE_COMMIT@";
|
|
}
|
|
|
|
static std::string paddle_compile_branch() {
|
|
return "@PADDLE_BRANCH@";
|
|
}
|
|
|
|
static std::string paddle_version() {
|
|
return "@PADDLE_VERSION@";
|
|
}
|
|
|
|
} // namespace framework
|
|
} // namespace paddle
|