aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/lib/strings/strcat.h
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2018-03-13 13:24:30 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-03-13 13:28:54 -0700
commitfc5885026be1fb2feb6a9ac27c6b8dc594e48ea7 (patch)
tree30a4ad1835d0c424a1d16d3f1dd91610cb4ca93c /tensorflow/core/lib/strings/strcat.h
parent571ed3ba4f8734ed891e81ad2b6bb9aadb816218 (diff)
Break the dependency between platform/types.h and bfloat16.h, and between
hash.h and bfloat16.h. This change introduces a generic mechanism for adapting types that are meant to be used in tensorflow's error objects. PiperOrigin-RevId: 188920678
Diffstat (limited to 'tensorflow/core/lib/strings/strcat.h')
-rw-r--r--tensorflow/core/lib/strings/strcat.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/tensorflow/core/lib/strings/strcat.h b/tensorflow/core/lib/strings/strcat.h
index 2bc14945cd..b681f7398d 100644
--- a/tensorflow/core/lib/strings/strcat.h
+++ b/tensorflow/core/lib/strings/strcat.h
@@ -119,9 +119,6 @@ class AlphaNum {
AlphaNum(float f) // NOLINT(runtime/explicit)
: piece_(digits_, strlen(FloatToBuffer(f, digits_))) {}
- AlphaNum(bfloat16 f) // NOLINT(runtime/explicit)
- : piece_(digits_, strlen(FloatToBuffer(static_cast<float>(f), digits_))) {
- }
AlphaNum(double f) // NOLINT(runtime/explicit)
: piece_(digits_, strlen(DoubleToBuffer(f, digits_))) {}