Skip to content

Commit 02c5ecc

Browse files
author
xutianbing
committed
merge
1 parent e79841d commit 02c5ecc

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

paddle/function/BufferArg.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ class SequenceIdArg : public BufferArg {
190190
: BufferArg(VALUE_TYPE_INT32, shape, argType) {
191191
bufferType_ = TENSOR_SEQUENCE_ID;
192192
CHECK_EQ(shape_.ndims(), 1UL);
193-
CHECK_GT(shape_[0], 1UL);
193+
CHECK_GE(shape_[0], 1UL);
194194
numSeqs_ = shape_[0] - 1;
195195
}
196196

paddle/function/FunctionTest.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,6 @@ class FunctionCompare {
134134
output.valueType(),
135135
output.shape(),
136136
argType));
137-
<<<<<<< HEAD
138137
}
139138

140139
/// add and init output sparse matrix

0 commit comments

Comments
 (0)