mirror of
				https://github.com/ml-explore/mlx.git
				synced 2025-10-31 07:58:14 +08:00 
			
		
		
		
	Make shape a tuple (#591)
* shape tuple * also remove simplify from docs * rebase
This commit is contained in:
		| @@ -929,7 +929,7 @@ We see some modest improvements right away! | ||||
|  | ||||
| This operation is now good to be used to build other operations,  | ||||
| in :class:`mlx.nn.Module` calls, and also as a part of graph  | ||||
| transformations such as :meth:`grad` and :meth:`simplify`! | ||||
| transformations like :meth:`grad`! | ||||
|  | ||||
| Scripts | ||||
| ------- | ||||
|   | ||||
| @@ -14,4 +14,3 @@ Transforms | ||||
|    jvp | ||||
|    vjp | ||||
|    vmap | ||||
|    simplify | ||||
|   | ||||
| @@ -20,7 +20,7 @@ Transforming Compute Graphs | ||||
|  | ||||
| Lazy evaluation let's us record a compute graph without actually doing any | ||||
| computations. This is useful for function transformations like :func:`grad` and | ||||
| :func:`vmap` and graph optimizations like :func:`simplify`. | ||||
| :func:`vmap` and graph optimizations. | ||||
|  | ||||
| Currently, MLX does not compile and rerun compute graphs. They are all | ||||
| generated dynamically. However, lazy evaluation makes it much easier to | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Awni Hannun
					Awni Hannun