giagrad.tensor.Function.backward#

abstract Function.backward(partial: ndarray)[source]#

Backpropagate from child tensor created with comm().

Updates parents gradient through chain rule. This method is the extension of backward() for a concrete operation.

Parameters:

partial (ndarray) – Defines the partial derivative of the loss function with respect to the child Tensor, the one created with forward().