zeros_

dragon.vm.torch.nn.init.zeros_(tensor)[source]

Fill tensor with zeros.

\[\text{tensor} \leftarrow 0 \]
Parameters:
Returns:

dragon.vm.torch.Tensor – The output tensor.