message: Sanitize concat_op.cc with clang-format -i --style=Google
diff: @@ -18,7 +18,6 @@ limitations under the License.
  #include <limits>
  #include <vector>
  -#include "third_party/eigen3/unsupported/Eigen/CXX11/Tensor"
  #include "tensorflow/core/framework/op_kernel.h"
  #include "tensorflow/core/framework/register_types.h"
  #include "tensorflow/core/framework/tensor.h"
  @@ -28,6 +27,7 @@ limitations under the License.
  #include "tensorflow/core/kernels/concat_lib.h"
  #include "tensorflow/core/lib/core/status.h"
  #include "tensorflow/core/platform/types.h"
  +#include "third_party/eigen3/unsupported/Eigen/CXX11/Tensor"
  namespace tensorflow {
  @@ -53,9 +53,9 @@ class ConcatBaseOp : public OpKernel {
  void Compute(OpKernelContext* c) override {
  const Tensor* concat_dim_tensor;
  const char* axis_attribute_name =
  - AxisArgName == NAME_IS_AXIS
  - ? "axis"
  - : AxisArgName == NAME_IS_CONCAT_DIM ? "concat_dim" : "<invalid>";
  + AxisArgName == NAME_IS_AXIS ? "axis" : AxisArgName == NAME_IS_CONCAT_DIM
  + ? "concat_dim"
  + : "<invalid>";
  OP_REQUIRES_OK(c, c->input(axis_attribute_name, &concat_dim_tensor));
  OP_REQUIRES(c, IsLegacyScalar(concat_dim_tensor->shape()),
  errors::InvalidArgument(
  @@ -65,14 +65,24 @@ class ConcatBaseOp : public OpKernel {
  int64 concat_dim;
  // In case of ConcatV2, "axis" could be int32 or int64
  if (AxisArgName == NAME_IS_AXIS) {
  - OP_REQUIRES(c, (concat_dim_tensor->dtype() == DT_INT32 || concat_dim_tensor->dtype() == DT_INT64), errors::InvalidArgument(axis_attribute_name, " tensor should be int32 or int64, but got ", concat_dim_tensor->dtype()));
  + OP_REQUIRES(
  + c, (concat_dim_tensor->dtype() == DT_INT32 ||
  + concat_dim_tensor->dtype() == DT_INT64),
  + errors::InvalidArgument(axis_attribute_name,
  + " tensor should be int32 or int64, but got ",
  + concat_dim_tensor->dtype()));
  } else {
  - OP_REQUIRES(c, (concat_dim_tensor->dtype() == DT_INT32), errors::InvalidArgument(axis_attribute_name, " tensor should be int32, but got ", concat_dim_tensor->dtype()));
  + OP_REQUIRES(c, (concat_dim_tensor->dtype() == DT_INT32),
  + errors::InvalidArgument(axis_attribute_name,
  + " tensor should be int32, but got ",
  + concat_dim_tensor->dtype()));
  }
  if (concat_dim_tensor->dtype() == DT_INT32) {
  - concat_dim = internal::SubtleMustCopy(concat_dim_tensor->scalar<int32>()());
  + concat_dim =
  + internal::SubtleMustCopy(concat_dim_tensor->scalar<int32>()());
  } else {
  - concat_dim = internal::SubtleMustCopy(concat_dim_tensor->scalar<int64>()());
  + concat_dim =
  + internal::SubtleMustCopy(concat_dim_tensor->scalar<int64>()());
  }
  OpInputList values;
  