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