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().