aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/util/tensor_slice_set.cc
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/util/tensor_slice_set.cc
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/util/tensor_slice_set.cc')
-rw-r--r--tensorflow/core/util/tensor_slice_set.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/tensorflow/core/util/tensor_slice_set.cc b/tensorflow/core/util/tensor_slice_set.cc
index 765686f189..7721cd88d0 100644
--- a/tensorflow/core/util/tensor_slice_set.cc
+++ b/tensorflow/core/util/tensor_slice_set.cc
@@ -1,9 +1,9 @@
#include "tensorflow/core/util/tensor_slice_set.h"
-#include "tensorflow/core/platform/logging.h"
#include "tensorflow/core/lib/core/errors.h"
-#include "tensorflow/core/util/tensor_slice_util.h"
#include "tensorflow/core/lib/gtl/map_util.h"
+#include "tensorflow/core/platform/logging.h"
+#include "tensorflow/core/util/tensor_slice_util.h"
namespace tensorflow {
@@ -14,8 +14,8 @@ TensorSliceSet::TensorSliceSet(const TensorShape& shape, DataType type)
TensorSliceSet::~TensorSliceSet() {}
-Status TensorSliceSet::Register(const TensorSlice& slice,
- const string& tag, const float* data) {
+Status TensorSliceSet::Register(const TensorSlice& slice, const string& tag,
+ const float* data) {
TensorShape result_shape;
TF_RETURN_IF_ERROR(slice.SliceTensorShape(shape_, &result_shape));
string str = slice.DebugString();