mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
[functorch] quick fix
This commit is contained in:
@ -163,7 +163,7 @@ def get_signatures(path='build/aten/src/ATen/RegistrationDeclarations.h', includ
|
||||
continue
|
||||
if 'std::array' in line:
|
||||
continue
|
||||
m = re.match(r'(.*) \w+\((.*)\); // {"schema": "aten::(.*)\(.*', line)
|
||||
m = re.match(r'(.*) \w+\((.*)\); // {"schema": "aten::(\w+\.?\w*)\(.*', line)
|
||||
if m is None:
|
||||
continue
|
||||
return_t = m.group(1)
|
||||
|
Reference in New Issue
Block a user