mirror of
				https://github.com/ml-explore/mlx.git
				synced 2025-10-31 16:21:27 +08:00 
			
		
		
		
	Fix typo in transformer docs (#1414)
This commit is contained in:
		| @@ -314,7 +314,7 @@ class Transformer(Module): | |||||||
|         norm_first (bool, optional): if ``True``, encoder and decoder layers |         norm_first (bool, optional): if ``True``, encoder and decoder layers | ||||||
|             will perform layer normalization before attention and MLP |             will perform layer normalization before attention and MLP | ||||||
|             operations, otherwise after. Default: ``True``. |             operations, otherwise after. Default: ``True``. | ||||||
|         chekpoint (bool, optional): if ``True`` perform gradient checkpointing |         checkpoint (bool, optional): if ``True`` perform gradient checkpointing | ||||||
|             to reduce the memory usage at the expense of more computation. |             to reduce the memory usage at the expense of more computation. | ||||||
|             Default: ``False``. |             Default: ``False``. | ||||||
|     """ |     """ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 c0g
					c0g