mirror of
https://github.com/ml-explore/mlx.git
synced 2025-12-16 01:49:05 +08:00
Simplifications for MLX C (#1396)
* simplifications for MLX C * use vectors instead of map * update examples
This commit is contained in:
@@ -416,8 +416,8 @@ array where(
|
||||
array nan_to_num(
|
||||
const array& a,
|
||||
float nan = 0.0f,
|
||||
const std::optional<float>& posinf = std::nullopt,
|
||||
const std::optional<float>& neginf = std::nullopt,
|
||||
const std::optional<float> posinf = std::nullopt,
|
||||
const std::optional<float> neginf = std::nullopt,
|
||||
StreamOrDevice s = {});
|
||||
|
||||
/** True if all elements in the array are true (or non-zero). **/
|
||||
|
||||
Reference in New Issue
Block a user