SyTen

◆ get_autodiff_id()

Autodiff::STensorId syten::STensorImpl::STensor::get_autodiff_id ( ) const

Returns the autodifferentation ID of this tensor if enabled, 0 if disabled.

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

Referenced by autodiff_enabled(), enable_autodiff(), get_autodiff(), syten::STensorImpl::summarise(), and syten::STensorImpl::trace().

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