aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/go/session.go
diff options
context:
space:
mode:
authorGravatar Jonathan Hseu <jhseu@google.com>2016-08-23 12:29:10 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2016-08-23 13:32:55 -0700
commit31e0b3bef5fa5e2108f8923633022bbd29b3d287 (patch)
treedbb42f3f2f182ab0d70cb35466c67099f0459a8f /tensorflow/go/session.go
parentb73bad5a5aaae94bfc112bfec3adc5fea8c006df (diff)
Rename Port to Output in the Go API.
Change: 131089292
Diffstat (limited to 'tensorflow/go/session.go')
-rw-r--r--tensorflow/go/session.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/go/session.go b/tensorflow/go/session.go
index 98a87602d1..41b6ad4683 100644
--- a/tensorflow/go/session.go
+++ b/tensorflow/go/session.go
@@ -66,7 +66,7 @@ func NewSession(graph *Graph, options *SessionOptions) (*Session, error) {
// On success, returns the Tensor outputs in the same order as supplied in
// the outputs argument. If outputs is set to nil, the returned Tensor outputs
// is empty.
-func (s *Session) Run(inputs map[Port]*Tensor, outputs []Port, targets []*Operation) ([]*Tensor, error) {
+func (s *Session) Run(inputs map[Output]*Tensor, outputs []Output, targets []*Operation) ([]*Tensor, error) {
s.mu.Lock()
if s.c == nil {
s.mu.Unlock()