SyTen

◆ autodiff()

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

Does the heavy lifting to compute the total derivative of the calling tensor (identified by result_id) with respect to one of its input tensors (identified by input_id).

References build_links_upstream(), syten::EnvVars::dbg_ad, draw(), find_origin_node(), full_name(), syten::logGI(), std::swap(), and std::to_string().

+ Here is the call graph for this function: