Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
Fixes pytorch#77412

Signed-off-by: Edward Z. Yang <ezyangfb.com>

Pull Request resolved: pytorch#77488

Approved by: https://github.com/mruberry
  • Loading branch information
ezyang authored and pytorchmergebot committed May 18, 2022
1 parent 55be35a commit befa4e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torchgen/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -1961,7 +1961,7 @@ def __post_init__(self) -> None:
assert not gets_generated_view_copy(self.view), (
f"{str(self.view.func.name)} appears to be a new operator that aliases its inputs."
" The codegen expects you to add a corresponding operator to native_functions.yaml:"
f" {get_view_copy_name(self.view):!s}."
f" {get_view_copy_name(self.view)!s}."
" See Note [view_copy NativeFunctions] for details."
)
else:
Expand Down

0 comments on commit befa4e3

Please sign in to comment.