Skip to content

Commit

Permalink
[Infrt] upgrade kernel launcher fun generator (PaddlePaddle#40826)
Browse files Browse the repository at this point in the history
  • Loading branch information
DannyIsFunny committed Mar 24, 2022
1 parent 0bcb4f8 commit 7fa3a72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/infrt/get_phi_kernel_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def get_api_yaml_info(file_path):
def get_kernel_info(file_path):
f = open(file_path, "r")
cont = f.readlines()
return [l.strip() for l in cont]
return [l.strip() for l in cont if l.strip() != ""]


def get_attr_info(file_path):
Expand Down

0 comments on commit 7fa3a72

Please sign in to comment.