diff options
author | 2015-11-16 11:11:36 -0800 | |
---|---|---|
committer | 2015-11-16 11:11:36 -0800 | |
commit | 56313def004795f75ef8281a0294c958d28f1e06 (patch) | |
tree | b1574e8fa6fdeb6f7155511d8e4eccda85f3b0e1 /tensorflow/core/lib/strings | |
parent | cb9fa5fc9de9f3fc97c15bbcce252d7d7fdcb73b (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/strings')
-rw-r--r-- | tensorflow/core/lib/strings/numbers.cc | 2 | ||||
-rw-r--r-- | tensorflow/core/lib/strings/str_util.h | 2 | ||||
-rw-r--r-- | tensorflow/core/lib/strings/strcat.cc | 2 | ||||
-rw-r--r-- | tensorflow/core/lib/strings/strcat.h | 3 | ||||
-rw-r--r-- | tensorflow/core/lib/strings/strcat_test.cc | 2 |
5 files changed, 5 insertions, 6 deletions
diff --git a/tensorflow/core/lib/strings/numbers.cc b/tensorflow/core/lib/strings/numbers.cc index d61129fb3f..e756d3836a 100644 --- a/tensorflow/core/lib/strings/numbers.cc +++ b/tensorflow/core/lib/strings/numbers.cc @@ -6,8 +6,8 @@ #include <algorithm> #include <cmath> -#include "tensorflow/core/platform/port.h" #include "tensorflow/core/platform/logging.h" +#include "tensorflow/core/platform/port.h" namespace tensorflow { namespace strings { diff --git a/tensorflow/core/lib/strings/str_util.h b/tensorflow/core/lib/strings/str_util.h index 34ea462b2d..c19632792d 100644 --- a/tensorflow/core/lib/strings/str_util.h +++ b/tensorflow/core/lib/strings/str_util.h @@ -2,10 +2,10 @@ #define TENSORFLOW_LIB_STRINGS_STR_UTIL_H_ #include <string> -#include "tensorflow/core/platform/port.h" #include "tensorflow/core/lib/core/stringpiece.h" #include "tensorflow/core/lib/gtl/array_slice.h" #include "tensorflow/core/lib/strings/strcat.h" +#include "tensorflow/core/platform/port.h" // Basic string utility routines namespace tensorflow { diff --git a/tensorflow/core/lib/strings/strcat.cc b/tensorflow/core/lib/strings/strcat.cc index e564b9eb73..33a491bd02 100644 --- a/tensorflow/core/lib/strings/strcat.cc +++ b/tensorflow/core/lib/strings/strcat.cc @@ -5,8 +5,8 @@ #include <stdio.h> #include <string.h> -#include "tensorflow/core/platform/logging.h" #include "tensorflow/core/lib/gtl/stl_util.h" +#include "tensorflow/core/platform/logging.h" namespace tensorflow { namespace strings { diff --git a/tensorflow/core/lib/strings/strcat.h b/tensorflow/core/lib/strings/strcat.h index 763ad8368a..815f1dce13 100644 --- a/tensorflow/core/lib/strings/strcat.h +++ b/tensorflow/core/lib/strings/strcat.h @@ -65,8 +65,7 @@ struct Hex { uint64 value; enum PadSpec spec; template <class Int> - explicit Hex(Int v, PadSpec s = NO_PAD) - : spec(s) { + explicit Hex(Int v, PadSpec s = NO_PAD) : spec(s) { // Prevent sign-extension by casting integers to // their unsigned counterparts. static_assert( diff --git a/tensorflow/core/lib/strings/strcat_test.cc b/tensorflow/core/lib/strings/strcat_test.cc index 9ff7d81af9..faaf4277aa 100644 --- a/tensorflow/core/lib/strings/strcat_test.cc +++ b/tensorflow/core/lib/strings/strcat_test.cc @@ -2,9 +2,9 @@ #include <string> +#include <gtest/gtest.h> #include "tensorflow/core/lib/strings/stringprintf.h" #include "tensorflow/core/platform/port.h" -#include <gtest/gtest.h> namespace tensorflow { namespace strings { |