Merge pull request #12656 from panyx0718/api

higher review requirement for adding new APIs
revert-12646-feature/jit/xbyak
Xin Pan 7 years ago committed by GitHub
commit 24283d9fc2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -20,9 +20,7 @@ for each_diff in result:
if each_diff[0] in ['-', '?']: # delete or change API is not allowed
error = True
elif each_diff[0] == '+':
# only new layers is allowed.
if not each_diff.startswith('+ paddle.fluid.layers.'):
error = True
error = True
if each_diff[0] != ' ':
print(each_diff)

Loading…
Cancel
Save