Method Zeros
Zeros(TensorShape)
Initializes and returns a tensor with the specified shape and filled with 0.
Declaration
public static TensorInt Zeros(TensorShape shape)
Parameters
| Type | Name | Description |
|---|---|---|
| TensorShape | shape | The shape of the tensor. |
Returns
| Type | Description |
|---|---|
| TensorInt | The instantiated zero tensor. |