diff --git a/paddle/operators/sequence_concat_op.cu b/paddle/operators/sequence_concat_op.cu index 200b2a8ab9e0d7f841c3e9499d0ea90aa81142ae..8dc4764785871262d21a5631cc9e8b805ba84244 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 dcd98be7ee0b8852de73f1899046a9c443b3471e..91c952caf25d72dec4cf39783e7274b49167e43a 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 "