mlx.core.array.shape

目录

mlx.core.array.shape#

属性 array.shape#

数组的形状,表示为一个 Python 元组。

返回值:

一个元组,包含每个维度的尺寸。

返回类型:

tuple(int)