Commit Graph

7 Commits

Author SHA1 Message Date
Phil Stahlfeld
f1a3c8af3c Add SignatureDefs to Go SavedModel API.
PiperOrigin-RevId: 281984017
Change-Id: Iefdf75ed88f54d97a0a7d210f5a42f3123205bf2
2019-11-22 11:52:37 -08:00
Jason Zaman
8171f3f020 Enable per-OS libs for libtensorflow_framework.so
Signed-off-by: Jason Zaman <jason@perfinion.com>
2019-03-24 22:23:49 +08:00
Austin Anderson
52bd173737 Automated rollback of commit ed464d5623. Revert .
PiperOrigin-RevId: 239904133
2019-03-22 19:27:04 -07:00
Jason Zaman
ac1f6cc8e1 Add version to library sonames
Previously the libs were just "libtensorflow.so" without any version.
This adds the version to the library (eg libtensorflow.so.1.13.0) and
adds the appropriate symlinks to the full name from the base and
soversion.

The soname is used by compilers to fill in the DT_NEEDED section in the
header of binaries that link to the library. Having the version means
that different versions of the library are able to co-exist and if the
ABI changes, programs linking to the lib do not break.

For more info see:
https://www.debian.org/doc/debian-policy/ch-sharedlibs.html
https://autotools.io/libtool/version.html

Signed-off-by: Jason Zaman <jason@perfinion.com>
2019-03-18 19:22:48 +08:00
James Keeling
f2a08fbecd Add Go wrapper around Eager C API's Context.
This is part of a series of changes to provide a thin Go wrapper around the Eager C API.

PiperOrigin-RevId: 225851549
2018-12-17 10:49:30 -08:00
Asim Shankar
8ee4e7ba0f Go: Run tests during continuous integration
TensorFlow uses bazel to build and test.
However, the TensorFlow Go API is targeted for use with the 'go' tool.
This commit:

- Adds a shell test so that usage with the 'go' tool can be tested with
  'bazel test //tensorflow/go/...'
- Installs Go in the images used in the continuous build
Change: 147864583
2017-02-17 12:24:50 -08:00
Jonathan Hseu
783c52edeb Initial version of the Go API. The API is subject to change.
Remaining work to do:
- Generated ops.
- Generated protocol buffers.
- A few calls requiring protocol buffers aren't in this change.
Change: 131066649
2016-08-23 10:04:53 -07:00