aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/lib/random
diff options
context:
space:
mode:
authorGravatar Josh Levenberg <josh11b@tensorflow.org>2016-01-06 12:53:45 -0800
committerGravatar Vijay Vasudevan <vrv@google.com>2016-01-06 12:53:45 -0800
commit252bb90ca2dd412ca2fd2908faf1a25d6ef618cf (patch)
treedac8bd5cbdd617fb42206d16001e087355c0690d /tensorflow/core/lib/random
parent71677020b92898da52d26885ce269b104ec863b7 (diff)
#include third_party/tensorflow/core/platform/macros.h
directly so we can drop it from port.h. Change: 111506675
Diffstat (limited to 'tensorflow/core/lib/random')
-rw-r--r--tensorflow/core/lib/random/distribution_sampler.h1
-rw-r--r--tensorflow/core/lib/random/distribution_sampler_test.cc1
-rw-r--r--tensorflow/core/lib/random/weighted_picker.h1
-rw-r--r--tensorflow/core/lib/random/weighted_picker_test.cc1
4 files changed, 4 insertions, 0 deletions
diff --git a/tensorflow/core/lib/random/distribution_sampler.h b/tensorflow/core/lib/random/distribution_sampler.h
index bbd4609cfd..8c41826379 100644
--- a/tensorflow/core/lib/random/distribution_sampler.h
+++ b/tensorflow/core/lib/random/distribution_sampler.h
@@ -38,6 +38,7 @@ limitations under the License.
#include "tensorflow/core/lib/gtl/array_slice.h"
#include "tensorflow/core/lib/random/simple_philox.h"
#include "tensorflow/core/platform/logging.h"
+#include "tensorflow/core/platform/macros.h"
#include "tensorflow/core/platform/port.h"
namespace tensorflow {
diff --git a/tensorflow/core/lib/random/distribution_sampler_test.cc b/tensorflow/core/lib/random/distribution_sampler_test.cc
index 0ddaa124c4..afcf4fc449 100644
--- a/tensorflow/core/lib/random/distribution_sampler_test.cc
+++ b/tensorflow/core/lib/random/distribution_sampler_test.cc
@@ -21,6 +21,7 @@ limitations under the License.
#include <gtest/gtest.h>
#include "tensorflow/core/lib/random/simple_philox.h"
+#include "tensorflow/core/platform/macros.h"
#include "tensorflow/core/platform/port.h"
#include "tensorflow/core/platform/test.h"
#include "tensorflow/core/platform/test_benchmark.h"
diff --git a/tensorflow/core/lib/random/weighted_picker.h b/tensorflow/core/lib/random/weighted_picker.h
index c3b56f3307..96e970267a 100644
--- a/tensorflow/core/lib/random/weighted_picker.h
+++ b/tensorflow/core/lib/random/weighted_picker.h
@@ -30,6 +30,7 @@ limitations under the License.
#include <assert.h>
#include "tensorflow/core/platform/logging.h"
+#include "tensorflow/core/platform/macros.h"
#include "tensorflow/core/platform/port.h"
namespace tensorflow {
diff --git a/tensorflow/core/lib/random/weighted_picker_test.cc b/tensorflow/core/lib/random/weighted_picker_test.cc
index 997e6fae6d..ff522c727e 100644
--- a/tensorflow/core/lib/random/weighted_picker_test.cc
+++ b/tensorflow/core/lib/random/weighted_picker_test.cc
@@ -21,6 +21,7 @@ limitations under the License.
#include <gtest/gtest.h>
#include "tensorflow/core/lib/random/simple_philox.h"
#include "tensorflow/core/platform/logging.h"
+#include "tensorflow/core/platform/macros.h"
#include "tensorflow/core/platform/port.h"
#include "tensorflow/core/platform/test.h"
#include "tensorflow/core/platform/test_benchmark.h"