MCPcopy Create free account
hub / github.com/ml-explore/mlx / minimum

Method minimum

python/src/array.cpp:63–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61 return mlx_maximum_item(x_, indices_, v);
62 }
63 mx::array minimum(const ScalarOrArray& v) {
64 check_initialized();
65 return mlx_minimum_item(x_, indices_, v);
66 }
67
68 private:
69 mx::array x_;

Callers 14

_clip_grads_fsdpFunction · 0.80
huber_lossFunction · 0.80
relu6Function · 0.80
celuFunction · 0.80
preluFunction · 0.80
hardswishFunction · 0.80
hard_tanhFunction · 0.80
scheduleFunction · 0.80
clip_grad_normFunction · 0.80
funMethod · 0.80
test_array_atMethod · 0.80

Calls 1

mlx_minimum_itemFunction · 0.85

Tested by 4

funMethod · 0.64
test_array_atMethod · 0.64
test_segmented_mmMethod · 0.64
test_minimumMethod · 0.64