diff options
author | 2017-11-28 21:22:20 -0800 | |
---|---|---|
committer | 2017-11-28 21:26:17 -0800 | |
commit | 2ab7e9dad284bd15d69779ee0bcf8a2c894c2a2a (patch) | |
tree | fb2332b91c82315fb8bddfaf08b18743d1f5f06c /tensorflow/go/tensor.go | |
parent | 05f57851d4657ec6c09a454b157cf17d89d0cfe2 (diff) |
Go: Add some more detail to an error message.
Closes #14806
PiperOrigin-RevId: 177263469
Diffstat (limited to 'tensorflow/go/tensor.go')
-rw-r--r-- | tensorflow/go/tensor.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/go/tensor.go b/tensorflow/go/tensor.go index 1326a95278..cd05e2aa0a 100644 --- a/tensorflow/go/tensor.go +++ b/tensorflow/go/tensor.go @@ -270,7 +270,7 @@ func typeOf(dt DataType, shape []int64) reflect.Type { } } if ret == nil { - panic(bug("DataType %v is not supported", dt)) + panic(bug("DataType %v is not supported (see https://www.tensorflow.org/code/tensorflow/core/framework/types.proto)", dt)) } for range shape { ret = reflect.SliceOf(ret) |