diff options
author | 2016-10-14 13:35:37 -0800 | |
---|---|---|
committer | 2016-10-14 14:50:01 -0700 | |
commit | 27b7506133141d3894e0de7443d4b59d7a5d5f42 (patch) | |
tree | be515ec40ef7188e10e1e8f059fed9cc15cd1b1e /tensorflow/go/tensor.go | |
parent | a17683631918b58f3509f6fc9766e8c6901f601a (diff) |
Adds a resource reference dtype to TF.
Change: 136199499
Diffstat (limited to 'tensorflow/go/tensor.go')
-rw-r--r-- | tensorflow/go/tensor.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tensorflow/go/tensor.go b/tensorflow/go/tensor.go index b1c34b6cd5..a12a732258 100644 --- a/tensorflow/go/tensor.go +++ b/tensorflow/go/tensor.go @@ -167,6 +167,7 @@ var types = []struct { {reflect.TypeOf(false), C.TF_BOOL}, {reflect.TypeOf(uint16(0)), C.TF_UINT16}, {reflect.TypeOf(complex(float64(0), float64(0))), C.TF_COMPLEX128}, + // TODO(apassos): support DT_RESOURCE representation in go. } // dimsAndDataTypeOf returns the data type and dimensions of a Go type for use |