SyTen

◆ return_first_output_adjoint()

STensor syten::STensorImpl::Autodiff::return_first_output_adjoint ( ComputeNode node,
Size  input_number,
STensorId const  result_id 
)

AdjointEvaluator-typed function which simply returns the output adjoint of the first output.

Useful to avoid re-typing the same lambda over and over again.

References syten::STensorImpl::STensor::copy(), and syten::STensorImpl::Autodiff::ComputeNode::get_output_adjoint().

Referenced by syten::STensorImpl::add_dummy_leg(), syten::STensorImpl::STensor::enable_autodiff(), syten::STensorImpl::STensorProxy::operator STensor(), syten::STensorImpl::operator+=(), syten::STensorImpl::STensorProxy::parity(), syten::STensorImpl::randomise_blocks(), syten::STensorImpl::remove_dummy_leg(), and syten::STensorImpl::STensorProxy::STensorProxy().

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