Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
0x00-pl committed Jan 3, 2025
1 parent 22c460b commit c568960
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions plai/dialect/torch_dialect.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ def from_torch(args: list, attrs: dict, loc: Location = None):

@classmethod
def register_torch_overload(cls, register: Callable[[str, Optional[Callable]], None]):
name = cls.get_op_name('::')
register(name, cls.from_torch)
register(cls.get_op_name('::'), cls.from_torch)

convertion_function_dict = {}

Expand Down

0 comments on commit c568960

Please sign in to comment.