Method Zeros
Zeros(int)
Creates index with zeros 0 of specified rank Ex: EmptyOfRank(rank: 3) => (0, 0, 0)
Declaration
public static TensorIndex Zeros(int rank)
Parameters
| Type | Name | Description |
|---|---|---|
| int | rank | The rank of the tensor index. |
Returns
| Type | Description |
|---|---|
| TensorIndex | The created tensor index. |