SyTen

◆ set_autodiff_node() [1/2]

void syten::STensorImpl::STensor::set_autodiff_node ( Autodiff::ComputeNodePtr  ptr)

Sets the autodiff node of this tensor to the supplied pointer.

Requires the Autodiff ID to be set already and contained in the set of output nodes of the node pointed to by ptr.

References ad_compute_node, ad_id, syten::hasMember(), and SYTEN_ASSERT_MSG.

+ Here is the call graph for this function: