ArrayShape 结构

定义

表示数组类型的形状。

public value class ArrayShape
public readonly struct ArrayShape
public struct ArrayShape
type ArrayShape = struct
Public Structure ArrayShape
继承
ArrayShape

构造函数

名称 说明
ArrayShape(Int32, ImmutableArray<Int32>, ImmutableArray<Int32>)

初始化结构的新实例 ArrayShape

属性

名称 说明
LowerBounds

获取所有维度的下限。 长度可能小于排名,在这种情况下,尾随维度的下限未指定。

Rank

获取数组中的维度数。

Sizes

获取所有维度的大小。

适用于