Rate this Page

Function torch::nn::init::zeros_#

Function Documentation#

Tensor torch::nn::init::zeros_(Tensor tensor)#

Fills the given tensor with zeros.

No gradient will be recorded for this operation.