Skip to content

Commit b69a329

Browse files
authored
Merge pull request #11448 from JiayiFeng/fix_random_crop_api
fix a small error
2 parents 046bb5c + 0ac03ae commit b69a329

File tree

1 file changed

+1
-1
lines changed
  • python/paddle/fluid/layers

1 file changed

+1
-1
lines changed

python/paddle/fluid/layers/nn.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4242,7 +4242,7 @@ def random_crop(x, shape, seed=None):
42424242
seed_out = helper.create_tmp_variable(dtype="int64")
42434243
helper.append_op(
42444244
type="random_crop",
4245-
inputs={"X": input,
4245+
inputs={"X": x,
42464246
"Seed": seed},
42474247
outputs={"Out": out,
42484248
"SeedOut": seed_out},

0 commit comments

Comments
 (0)