SyTen

◆ autodiff()

STensor syten::STensorImpl::STensor::autodiff ( Autodiff::STensorId const  input_id,
AutodiffRescale  do_rescale = AutodiffRescale::n() 
)

Returns the total derivative of this tensor with respect to the tensor with the supplied tensor ID.

References ad_id, get_autodiff_node(), and SYTEN_ASSERT_MSG.

+ Here is the call graph for this function: