Skip to content

Commit a7e4714

Browse files
Ailing Zhangdlibenzi
authored andcommitted
remove static
1 parent e672f3e commit a7e4714

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/gen.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -944,7 +944,7 @@ def parse_local_overrides(path):
944944

945945
def generate_registrations(fgens, overrides):
946946
code = 'void RegisterAtenTypeFunctions() {\n'
947-
code += ' static auto dispatch = torch::RegisterOperators()\n'
947+
code += ' auto dispatch = torch::RegisterOperators()\n'
948948
overridden = set()
949949
for fgen in fgens:
950950
mapsig_key = get_mapsig_key(fgen.mapsig)

0 commit comments

Comments
 (0)