zeros_¶
dragon.vm.torch.nn.init.
zeros_
(tensor)[source]¶Fill tensor with zeros.
\[\text{tensor} \leftarrow 0 \]- Parameters:
- tensor (dragon.vm.torch.Tensor) – The input tensor.
- Returns:
dragon.vm.torch.Tensor – The output tensor.
dragon.vm.torch.nn.init.
zeros_
(tensor)[source]¶Fill tensor with zeros.
dragon.vm.torch.Tensor – The output tensor.