File torch-autograd.cpp

namespace nuTens
namespace autograd

Functions

nuTens::Tensor grad(const nuTens::Tensor &final, const nuTens::Tensor &leaf)

compute the gradient of β€œfinal” with respect to β€œleaf”