diff options
author | A. Unique TensorFlower <gardener@tensorflow.org> | 2018-01-26 11:59:56 -0800 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2018-01-26 12:03:52 -0800 |
commit | 0f65c8f572201f8838189f3e3c3e455759112c14 (patch) | |
tree | 55d3ad38ebe720d5c3edb8d0722b55d4cd778e3e /tensorflow/core/kernels/unpack_op.cc | |
parent | ff6463f4277f412b98d6e6bb1283841ff66902de (diff) |
Cleanup: Ran clang-format on all *.{cc,h} files in tensorflow/core/kernels.
PiperOrigin-RevId: 183423961
Diffstat (limited to 'tensorflow/core/kernels/unpack_op.cc')
-rw-r--r-- | tensorflow/core/kernels/unpack_op.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tensorflow/core/kernels/unpack_op.cc b/tensorflow/core/kernels/unpack_op.cc index 397bdd5670..764b6a252a 100644 --- a/tensorflow/core/kernels/unpack_op.cc +++ b/tensorflow/core/kernels/unpack_op.cc @@ -34,7 +34,7 @@ typedef Eigen::GpuDevice GPUDevice; #ifdef TENSORFLOW_USE_SYCL typedef Eigen::SyclDevice SYCLDevice; -#endif // TENSORFLOW_USE_SYCL +#endif // TENSORFLOW_USE_SYCL template <typename Device, typename T> class UnpackOp : public OpKernel { @@ -65,8 +65,9 @@ class UnpackOp : public OpKernel { output_shape.RemoveDim(axis); const int64 output_size = output_shape.num_elements(); OP_REQUIRES( - context, FastBoundsCheck(output_size, - std::numeric_limits<Eigen::DenseIndex>::max()), + context, + FastBoundsCheck(output_size, + std::numeric_limits<Eigen::DenseIndex>::max()), errors::InvalidArgument("output size must fit in Eigen DenseIndex")); // This optimization is currently not applicable for SYCL devices |