Method ToArray
ToArray()
Returns the TensorShape as an array of integers. For example if the TensorShape is (5, 2, 3, 4), the method returns new[] {5, 2, 3, 4}.
Declaration
public int[] ToArray()
Returns
| Type | Description |
|---|---|
| int[] | An integer array representation of the shape. |