mirror of
https://github.com/ml-explore/mlx.git
synced 2025-06-24 09:21:16 +08:00
Add type hint for _extra_repr (#1948)
This commit is contained in:
parent
048805ad2c
commit
cffceda6ee
@ -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):
|
||||||
|
Loading…
Reference in New Issue
Block a user