giagrad.nn.Module.zero_grad#

Module.zero_grad()[source]#

Sets gradients of all tensors returned by parameters to zero.