From 462579c416b1f9bd1173d9d56a9cbc0c5cee9de8 Mon Sep 17 00:00:00 2001 From: Yancey1989 Date: Tue, 10 Oct 2017 13:25:42 +0800 Subject: [PATCH] update --- paddle/operators/sequence_concat_op.cu | 18 +++++++++--------- paddle/operators/sequence_concat_op.h | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/paddle/operators/sequence_concat_op.cu b/paddle/operators/sequence_concat_op.cu index 200b2a8ab9e..8dc47647858 100644 --- a/paddle/operators/sequence_concat_op.cu +++ b/paddle/operators/sequence_concat_op.cu @@ -1,16 +1,16 @@ /* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve. - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 + http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. */ +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. */ #define EIGEN_USE_GPU diff --git a/paddle/operators/sequence_concat_op.h b/paddle/operators/sequence_concat_op.h index dcd98be7ee0..91c952caf25 100644 --- a/paddle/operators/sequence_concat_op.h +++ b/paddle/operators/sequence_concat_op.h @@ -64,7 +64,7 @@ class SequenceConcatOpKernel : public framework::OpKernel { for (size_t i = 1; i < n; ++i) { PADDLE_ENFORCE_EQ(ins[0]->NumLevels(), ins[i]->NumLevels(), - "The level number of all the input LoDTensors " + "The levels of all the input LoDTensors " "should be the same."); PADDLE_ENFORCE_EQ(ins[0]->dims().size(), ins[i]->dims().size(), "The dimension size of all the input LoDTensors " -- GitLab