aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/lib/random
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/random
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/random')
-rw-r--r--tensorflow/core/lib/random/random_distributions.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tensorflow/core/lib/random/random_distributions.h b/tensorflow/core/lib/random/random_distributions.h
index 2ebe608fc9..ad16dbf01f 100644
--- a/tensorflow/core/lib/random/random_distributions.h
+++ b/tensorflow/core/lib/random/random_distributions.h
@@ -25,6 +25,7 @@ limitations under the License.
#include <algorithm>
#include "third_party/eigen3/unsupported/Eigen/CXX11/Tensor"
+#include "tensorflow/core/lib/bfloat16/bfloat16.h"
#include "tensorflow/core/lib/random/philox_random.h"
namespace tensorflow {