mirror of
https://github.com/ml-explore/mlx.git
synced 2025-09-25 23:38:10 +08:00
Add type hint for _extra_repr (#1948)
This commit is contained in:
@@ -81,7 +81,7 @@ class Module(dict):
|
|||||||
"""
|
"""
|
||||||
return self
|
return self
|
||||||
|
|
||||||
def _extra_repr(self):
|
def _extra_repr(self) -> str:
|
||||||
return ""
|
return ""
|
||||||
|
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
|
Reference in New Issue
Block a user