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

Method divide

python/src/array.cpp:55–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53 return mlx_multiply_item(x_, indices_, v);
54 }
55 mx::array divide(const ScalarOrArray& v) {
56 check_initialized();
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);

Callers 3

softsignFunction · 0.80
test_array_atMethod · 0.80
test_divideMethod · 0.80

Calls 1

mlx_divide_itemFunction · 0.85

Tested by 2

test_array_atMethod · 0.64
test_divideMethod · 0.64