aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/go/version.go
Commit message (Collapse)AuthorAge
* differentiate package description and licenseGravatar zhengjiajin2017-03-27
|
* C API: Add TF_Version(), akin to __version__ in python.Gravatar Asim Shankar2016-11-14
Since we envision a binary release of the C-library and other language bindings linking against it, will be useful to have version information when any debugging needs to be done. There is a slight problem in that TF_VERSION_STRING will point to the latest release when compiled from source at HEAD - which might be confusing as the version string will not represent true state of the libraries. But that seems like something to be dealt with in version.h independently of exporting this TF_Version() function. While at it, make the version string accessible in the Go API. TensorFlow follows semantic versioning, but parsing the version string into MAJOR, MINOR and PATCH is left as an excercise to the user (who can use any number of semantic version parsing libraries out there). Change: 139132778