mirror of
				https://github.com/ml-explore/mlx.git
				synced 2025-10-31 07:58:14 +08:00 
			
		
		
		
	Add type hint for Module (#412)
This commit is contained in:
		| @@ -54,6 +54,8 @@ class Module(dict): | ||||
|         mx.eval(model.parameters()) | ||||
|     """ | ||||
|  | ||||
|     __call__: Callable | ||||
|  | ||||
|     def __init__(self): | ||||
|         """Should be called by the subclasses of ``Module``.""" | ||||
|         self._no_grad = set() | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Chunyang Wen
					Chunyang Wen