STensor syten::STensorImpl::Autodiff::ComputeNode::get_input_adjoint | ( | Size const | input_number, |
STensorId const | result_id, | ||
AutodiffRescale | do_rescale | ||
) |
Returns the adjoint of the specified input tensor with respect to the specified output ID from this subtree of the calculation.
References cached_tensors, syten::EnvVars::dbg_ad, full_name(), func, input_nodes, syten::logGI(), node_do_rescale, std::swap(), and SYTEN_ASSERT_MSG.