aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/go/session.go
Commit message (Collapse)AuthorAge
* golang: added Session.ListDevices method (#14385)Gravatar Andrei Nigmatulin2017-12-21
| | | | | * golang: added Session.ListDevices method
* Fix: Go GC could destroy input tensors while SessionRun() was still running, ↵Gravatar Andrei Nigmatulin2017-09-20
| | | | see https://github.com/tensorflow/tensorflow/issues/13129
* Go: Some cleanup possible now that TensorFlow 1.1 has been released.Gravatar Asim Shankar2017-05-16
| | | | PiperOrigin-RevId: 156221562
* Merge changes from github.Gravatar A. Unique TensorFlower2017-04-04
| | | | Change: 152200430
* Go: Provide a mechanism to configure the Session.Gravatar Asim Shankar2017-02-28
| | | | | | | | A Session is configured using the ConfigProto protocol buffer. For now, continuing with attempts to keep the 'tensorflow' go package free of any protocol buffer dependencies, SessionOptions uses a serialized representation of this message. This choice might make sense to revisit. Change: 148750535
* Go: Add PartialRun support.Gravatar Asim Shankar2017-02-16
| | | | Change: 147783087
* Go: Add a SavedModel typeGravatar Jonathan Hseu2017-02-14
| | | | Change: 147543652
* SavedModel support in Go.Gravatar Jonathan Hseu2017-02-08
| | | | Change: 146938337
* Rename TF_Port to TF_Output and add a TF_Input type.Gravatar Jonathan Hseu2016-11-16
| | | | Change: 139377074
* C API: Do not take ownership of the TF_TensorsGravatar Asim Shankar2016-11-15
| | | | | | | | | | | | | | | Prior to this change, TF_*Run, TF_SetAttrTensor and TF_SetAttrTensorList took ownership of the TF_Tensor*s of the feeds. This can make performance client languages bothersome when the same Tensor is repeatedly fed into multiple session executions as the memory for the feed tensor would need to be re-allocated and filled in every time. With this change, these functions no longer take ownership of the TF_Tensor*. The changes to the Go API implementation reflect the claimed benefits. (Another step towards #10) Change: 139169388
* C API: Rename TF_SessionWithGraph to TF_Session.Gravatar Asim Shankar2016-11-09
| | | | | | | | | This makes the preferred API for graph construction and execution have the simpler, more sensible names (TF_Session, TF_NewSession etc.) and the older one which we hope to eventually remove have the more awkward ones (TF_DeprecatedSession, TF_NewDeprecatedSession etc.) Change: 138641615
* go: Add an example.Gravatar Asim Shankar2016-09-28
| | | | | | | | | | | | | Add an example (that will appear in Go doc) for a real use of the Go TensorFlow APIs - using a pre-defined image recognition model for inference. While at it a couple of minor tweaks: - NewSession now accepts 'nil' for options as the documentation says it does - Convenience accessors for the Outputs of an Operation - Ability to extract (possibly partial) shapes from an Output Another step towards #10 Change: 134560938
* Rename Port to Output in the Go API.Gravatar Jonathan Hseu2016-08-23
| | | | Change: 131089292
* Initial version of the Go API. The API is subject to change.Gravatar Jonathan Hseu2016-08-23
Remaining work to do: - Generated ops. - Generated protocol buffers. - A few calls requiring protocol buffers aren't in this change. Change: 131066649