Skip to content

Commit 28bd5b7

Browse files
JiabinYangluotao1
authored andcommitted
fix space_to_depth_op unicode problem (#14430)
* fix space_to_depth_op unicode problem * test=develop
1 parent 142b5ed commit 28bd5b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

paddle/fluid/operators/space_to_depth_op.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ class SpaceToDepthOpMaker : public framework::OpProtoAndCheckerMaker {
8686
.GreaterThan(1);
8787
AddComment(R"DOC(
8888
reorg operator used in Yolo v2.
89-
The equation is: C2 = C1/blocksize * blocksize, W2 = W1 blocksize + offset % blocksize, H2 = H1 blocksize + offset / blocksize,
89+
The equation is: C2 = C1/blocksize * blocksize, W2 = W1 * blocksize + offset % blocksize, H2 = H1 * blocksize + offset / blocksize,
9090

9191
Reshape Input(X) into the shape according to Attr(blocksize). The
9292
data in Input(X) are unchanged.

0 commit comments

Comments
 (0)