MLXBackend.multiply#

MLXBackend.multiply(x1, x2, out=None, **kwargs)[source]#

Element-wise multiplication of arrays.

Parameters:
arr1BackendArray

Input array.

arr2BackendArray

Input array.

outBackendArray, optional

Output array to write the result to. Returns a new array by default.

Returns:
BackendArray

Element-wise product of the input arrays.