SyTen

◆ get_autodiff_node()

Autodiff::ComputeNodePtr syten::STensorImpl::STensor::get_autodiff_node ( ) const

Returns a shared pointer to the autodifferentiation compute node which created this tensor if enabled, nullptr otherwise.

References ad_compute_node, and autodiff_enabled().

Referenced by autodiff(), get_autodiff(), and syten::STensorImpl::trace().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: