mlx.core.array.shape

目錄

mlx.core.array.shape#

property array.shape#

以 Python tuple 表示的陣列形狀。

回傳:

A tuple containing the sizes of each dimension.

回傳型別:

tuple(int)