mirror of
https://github.com/ml-explore/mlx.git
synced 2025-12-16 01:49:05 +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