Skip to content

Commit 507f479

Browse files
committed
Polish code
1 parent d49ff1a commit 507f479

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/paddle/fluid/layers/detection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1111,7 +1111,7 @@ def _is_list_or_tuple_and_equal(data, length, err_info):
11111111
mbox_loc = nn.transpose(mbox_loc, perm=[0, 2, 3, 1])
11121112
compile_shape = [
11131113
mbox_loc.shape[0], cpt.floor_division(
1114-
box_loc.shape[1] * mbox_loc.shape[2] * mbox_loc.shape[3], 4), 4
1114+
mbox_loc.shape[1] * mbox_loc.shape[2] * mbox_loc.shape[3], 4), 4
11151115
]
11161116
run_shape = tensor.assign(numpy.array([0, -1, 4]).astype("int32"))
11171117
mbox_loc_flatten = nn.reshape(

0 commit comments

Comments
 (0)