aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/lib/random
diff options
context:
space:
mode:
authorGravatar Vijay Vasudevan <vrv@google.com>2015-11-16 11:11:36 -0800
committerGravatar Vijay Vasudevan <vrv@google.com>2015-11-16 11:11:36 -0800
commit56313def004795f75ef8281a0294c958d28f1e06 (patch)
treeb1574e8fa6fdeb6f7155511d8e4eccda85f3b0e1 /tensorflow/core/lib/random
parentcb9fa5fc9de9f3fc97c15bbcce252d7d7fdcb73b (diff)
TensorFlow: Doc and linter fixes, some additional tests and
error handling, updates to website. Changes: - Removes redundant reshape from image models by @mrry - Default TensorBoard to localhost by @danmane - Reformatting of tensorflow/core by @josh11b - Make tutorials backwards compatible to 0.5.0 by @girving - Improve print documentation (md files not updated). - Add proper scrolling to sitemap by @martinwicke Base CL: 107956254
Diffstat (limited to 'tensorflow/core/lib/random')
-rw-r--r--tensorflow/core/lib/random/distribution_sampler_test.cc4
-rw-r--r--tensorflow/core/lib/random/philox_random_test.cc4
-rw-r--r--tensorflow/core/lib/random/random_distributions_test.cc2
-rw-r--r--tensorflow/core/lib/random/random_test.cc2
-rw-r--r--tensorflow/core/lib/random/simple_philox_test.cc2
-rw-r--r--tensorflow/core/lib/random/weighted_picker_test.cc4
6 files changed, 9 insertions, 9 deletions
diff --git a/tensorflow/core/lib/random/distribution_sampler_test.cc b/tensorflow/core/lib/random/distribution_sampler_test.cc
index d61a8daa0f..657c65120d 100644
--- a/tensorflow/core/lib/random/distribution_sampler_test.cc
+++ b/tensorflow/core/lib/random/distribution_sampler_test.cc
@@ -4,11 +4,11 @@
#include <memory>
#include <vector>
+#include <gtest/gtest.h>
+#include "tensorflow/core/lib/random/simple_philox.h"
#include "tensorflow/core/platform/port.h"
#include "tensorflow/core/platform/test.h"
#include "tensorflow/core/platform/test_benchmark.h"
-#include "tensorflow/core/lib/random/simple_philox.h"
-#include <gtest/gtest.h>
namespace tensorflow {
namespace random {
diff --git a/tensorflow/core/lib/random/philox_random_test.cc b/tensorflow/core/lib/random/philox_random_test.cc
index 997c0263b7..f656fe9f02 100644
--- a/tensorflow/core/lib/random/philox_random_test.cc
+++ b/tensorflow/core/lib/random/philox_random_test.cc
@@ -6,11 +6,11 @@
#include <unordered_map>
#include <vector>
-#include "tensorflow/core/platform/logging.h"
+#include <gtest/gtest.h>
#include "tensorflow/core/lib/random/philox_random_test_utils.h"
#include "tensorflow/core/lib/random/random.h"
#include "tensorflow/core/lib/random/random_distributions.h"
-#include <gtest/gtest.h>
+#include "tensorflow/core/platform/logging.h"
namespace tensorflow {
namespace random {
diff --git a/tensorflow/core/lib/random/random_distributions_test.cc b/tensorflow/core/lib/random/random_distributions_test.cc
index 3ce86a907a..87a23dcc5c 100644
--- a/tensorflow/core/lib/random/random_distributions_test.cc
+++ b/tensorflow/core/lib/random/random_distributions_test.cc
@@ -6,11 +6,11 @@
#include <unordered_map>
#include <vector>
+#include <gtest/gtest.h>
#include "tensorflow/core/lib/random/philox_random.h"
#include "tensorflow/core/lib/random/philox_random_test_utils.h"
#include "tensorflow/core/lib/random/random.h"
#include "tensorflow/core/platform/logging.h"
-#include <gtest/gtest.h>
namespace tensorflow {
namespace random {
diff --git a/tensorflow/core/lib/random/random_test.cc b/tensorflow/core/lib/random/random_test.cc
index 7ed37c8b5e..7284d5adc7 100644
--- a/tensorflow/core/lib/random/random_test.cc
+++ b/tensorflow/core/lib/random/random_test.cc
@@ -1,8 +1,8 @@
#include "tensorflow/core/lib/random/random.h"
#include <set>
-#include "tensorflow/core/platform/port.h"
#include <gtest/gtest.h>
+#include "tensorflow/core/platform/port.h"
namespace tensorflow {
namespace random {
diff --git a/tensorflow/core/lib/random/simple_philox_test.cc b/tensorflow/core/lib/random/simple_philox_test.cc
index 4246b8b4dd..7db63b2346 100644
--- a/tensorflow/core/lib/random/simple_philox_test.cc
+++ b/tensorflow/core/lib/random/simple_philox_test.cc
@@ -3,9 +3,9 @@
#include <set>
#include <string>
+#include <gtest/gtest.h>
#include "tensorflow/core/platform/logging.h"
#include "tensorflow/core/platform/port.h"
-#include <gtest/gtest.h>
namespace tensorflow {
namespace random {
diff --git a/tensorflow/core/lib/random/weighted_picker_test.cc b/tensorflow/core/lib/random/weighted_picker_test.cc
index 0b27d437d5..28dc90ad84 100644
--- a/tensorflow/core/lib/random/weighted_picker_test.cc
+++ b/tensorflow/core/lib/random/weighted_picker_test.cc
@@ -3,12 +3,12 @@
#include <string.h>
#include <vector>
+#include <gtest/gtest.h>
+#include "tensorflow/core/lib/random/simple_philox.h"
#include "tensorflow/core/platform/logging.h"
#include "tensorflow/core/platform/port.h"
#include "tensorflow/core/platform/test.h"
#include "tensorflow/core/platform/test_benchmark.h"
-#include "tensorflow/core/lib/random/simple_philox.h"
-#include <gtest/gtest.h>
namespace tensorflow {
namespace random {