Skip to main content

get_grad

Function get_grad 

Source
pub fn get_grad(id: TensorId) -> Option<Tensor>
Expand description

Get gradient for a tensor by ID from the graph.