diff options
author | Jonathan Hseu <jhseu@google.com> | 2016-11-16 14:11:44 -0800 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2016-11-16 14:23:00 -0800 |
commit | 8f6cb22c675b5c0b553334a8f04daef462905d69 (patch) | |
tree | 3bd0bc588b56a01100450d0c55e0eabf5e6abb68 /tensorflow/go/operation.go | |
parent | 3847bd1dbda5ff827806ebdfd0123a408e7550c2 (diff) |
Rename TF_Port to TF_Output and add a TF_Input type.
Change: 139377074
Diffstat (limited to 'tensorflow/go/operation.go')
-rw-r--r-- | tensorflow/go/operation.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tensorflow/go/operation.go b/tensorflow/go/operation.go index e7986814d0..eb8614653e 100644 --- a/tensorflow/go/operation.go +++ b/tensorflow/go/operation.go @@ -110,8 +110,8 @@ func (p Output) Shape() (shape []int64, err error) { return ret, nil } -func (p Output) c() C.TF_Port { - return C.TF_Port{oper: p.Op.c, index: C.int(p.Index)} +func (p Output) c() C.TF_Output { + return C.TF_Output{oper: p.Op.c, index: C.int(p.Index)} } func (p Output) canBeAnInput() {} |