Merge pull request #11448 from JiayiFeng/fix_random_crop_api

fix a small error
wangkuiyi-patch-1
fengjiayi 7 years ago committed by GitHub
commit b69a32933f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -4242,7 +4242,7 @@ def random_crop(x, shape, seed=None):
seed_out = helper.create_tmp_variable(dtype="int64")
helper.append_op(
type="random_crop",
inputs={"X": input,
inputs={"X": x,
"Seed": seed},
outputs={"Out": out,
"SeedOut": seed_out},

Loading…
Cancel
Save