diff --git a/tools/sampcd_processor.py b/tools/sampcd_processor.py index 086a36c3a80b57660a1973d34dbf2c399840a6cd..0ef3a63f54a0918ae13f17138339b13848458680 100644 --- a/tools/sampcd_processor.py +++ b/tools/sampcd_processor.py @@ -481,7 +481,10 @@ def get_filenames(): print("\nWARNING:----Exception in get api filename----\n") print("\n" + api + ' module is ' + module + "\n") if filename != '': - if filename not in filenames: + # rm contrib file + if filename.startswith('../python/paddle/fluid/contrib'): + pass + elif filename not in filenames: filenames.append(filename) # get all methods method = ''