mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-21 13:44:15 +08:00
[BE] typing for decorators - fx/_compatibility (#131568)
See #131429 Pull Request resolved: https://github.com/pytorch/pytorch/pull/131568 Approved by: https://github.com/justinchuby, https://github.com/oulgen, https://github.com/zou3519
This commit is contained in:
committed by
PyTorch MergeBot
parent
709ddf7a9d
commit
193f62fde9
@ -611,7 +611,7 @@ def return_and_correct_aliasing(func, args, kwargs, out):
|
||||
return None
|
||||
|
||||
def get_arg_from_alias(output_alias, schema_info, args, kwargs):
|
||||
new_args, new_kwargs = torch.fx.operator_schemas.normalize_function(
|
||||
new_args, new_kwargs = torch.fx.operator_schemas.normalize_function( # type: ignore[misc]
|
||||
func, args=args, kwargs=kwargs
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user