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

Method multiply

python/src/array.cpp:51–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49 return mlx_subtract_item(x_, indices_, v);
50 }
51 mx::array multiply(const ScalarOrArray& v) {
52 check_initialized();
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);

Callers 5

funMethod · 0.80
test_array_atMethod · 0.80
np_logaddexpFunction · 0.80
test_multiplyMethod · 0.80
test_as_stridedMethod · 0.80

Calls 1

mlx_multiply_itemFunction · 0.85

Tested by 5

funMethod · 0.64
test_array_atMethod · 0.64
np_logaddexpFunction · 0.64
test_multiplyMethod · 0.64
test_as_stridedMethod · 0.64