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 89af118 commit ecd7a55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plai/core/module.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def __init_subclass__(cls, **kwargs):
Node.subclass_dict[op_name] = cls

@staticmethod
def get_op_subclass(op_name: str):
def get_node_class(op_name: str):
assert op_name in Node.subclass_dict, f'Unregister Class with name: {op_name}'
return Node.subclass_dict[op_name]

Expand Down

0 comments on commit ecd7a55

Please sign in to comment.