Skip to content

Commit 33c5996

Browse files
committed
modify __all__ and doc
1 parent 0fcc53d commit 33c5996

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

paddle/fluid/operators/searchsorted_op.cc

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -93,14 +93,13 @@ class SearchSortedOpMaker : public framework::OpProtoAndCheckerMaker {
9393
public:
9494
void Make() override {
9595
AddInput("SortedSequence",
96-
"(Tensor), N-D or 1-D tensor, The value of the tensor"
96+
"(Tensor), N-D tensor, The value of the tensor"
9797
"monotonically increases in the innermost dimension.");
98-
AddInput("Values",
99-
"(Tensor or Scalar), N-D tensor or a Scalar given values.");
98+
AddInput("Values", "(Tensor), N-D tensor given values.");
10099
AddOutput("Out", "(Tensor), The output tensor of searchsorted op.");
101100
AddAttr<bool>("out_int32",
102-
"the output tensor is int64 type if False and int32"
103-
"normally type if True.")
101+
"the output tensor is int64 type if False and On the"
102+
"contrary for int32")
104103
.SetDefault(false);
105104
AddAttr<bool>(
106105
"right",

python/paddle/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,7 @@
356356
'summary',
357357
'flops',
358358
'sort',
359+
'searchsorted',
359360
'split',
360361
'logical_and',
361362
'full_like',

0 commit comments

Comments
 (0)