sync_gradient

Function sync_gradient 

Source
pub fn sync_gradient(gradient: &mut Tensor<f32>, pg: &ProcessGroup)
Expand description

Synchronizes a single gradient tensor.