mlx.core.divide

目錄

mlx.core.divide#

divide(a: scalar | array, b: scalar | array, stream: None | Stream | Device = None) array#

Element-wise division.

Divide two arrays with numpy-style broadcasting semantics. Either or both input arrays can also be scalars.

參數:
  • a (array) -- Input array or scalar.

  • b (array) -- Input array or scalar.

回傳值:

The quotient a / b.

回傳值型別:

array