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

Method maximum

python/src/array.cpp:59–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57 return mlx_divide_item(x_, indices_, v);
58 }
59 mx::array maximum(const ScalarOrArray& v) {
60 check_initialized();
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);

Callers 15

gaussian_nll_lossFunction · 0.80
triplet_lossFunction · 0.80
hinge_lossFunction · 0.80
cosine_similarity_lossFunction · 0.80
margin_ranking_lossFunction · 0.80
reluFunction · 0.80
relu2Function · 0.80
relu6Function · 0.80
leaky_reluFunction · 0.80
celuFunction · 0.80
preluFunction · 0.80
hardswishFunction · 0.80

Calls 1

mlx_maximum_itemFunction · 0.85

Tested by 6

funMethod · 0.64
test_rnnMethod · 0.64
test_array_atMethod · 0.64
np_logaddexpFunction · 0.64
test_maximumMethod · 0.64
test_binary_opsMethod · 0.64