MLXBackend.fill#

MLXBackend.fill(arr, value)[source]#

Fills arr in-place with a given value.

Parameters:
arrBackendArray

Input data.

valueScalar

The value to fill the array with.