diff options
author | Jonathan Hseu <jhseu@google.com> | 2016-08-23 12:29:10 -0800 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2016-08-23 13:32:55 -0700 |
commit | 31e0b3bef5fa5e2108f8923633022bbd29b3d287 (patch) | |
tree | dbb42f3f2f182ab0d70cb35466c67099f0459a8f /tensorflow/go/session.go | |
parent | b73bad5a5aaae94bfc112bfec3adc5fea8c006df (diff) |
Rename Port to Output in the Go API.
Change: 131089292
Diffstat (limited to 'tensorflow/go/session.go')
-rw-r--r-- | tensorflow/go/session.go | 2 |
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() |