* Implementation of mlx.random.multivariate_normal (#502) * Update python/src/random.cpp Co-authored-by: Awni Hannun <[email protected]> * Update python/src/random.cpp Co-authored-by: Awni Hannun <[email protected]> * Update python/src/random.cpp Co-authored-by: Awni Hannun <[email protected]> * Updated typo in docstring * Restricted multivariate_normal to float32 * Generic mean and variance shapes * Review edits * Update mlx/random.cpp Co-authored-by: Awni Hannun <[email protected]> * Update python/src/random.cpp Co-authored-by: Awni Hannun <[email protected]> * Update python/src/random.cpp Co-authored-by: Awni Hannun <[email protected]> * Update python/src/random.cpp Co-authored-by: Awni Hannun <[email protected]> * Test for ndim of mean and cov * nits * smaller size for test * fix broadcasted sampling --------- Co-authored-by: Awni Hannun <[email protected]> Co-authored-by: Awni Hannun <[email protected]>
This commit is contained in:
co-authored by
Awni Hannun
Awni Hannun
parent
a1a31eed27
commit
fffe072028
@@ -38,6 +38,7 @@ we use a splittable version of Threefry, which is a counter-based PRNG.
|
||||
gumbel
|
||||
key
|
||||
normal
|
||||
multivariate_normal
|
||||
randint
|
||||
seed
|
||||
split
|
||||
|
||||
Reference in New Issue
Block a user