SyTen

◆ create_product_differentiable()

void syten::STensorImpl::Autodiff::create_product_differentiable ( STensorProxy const &  a,
STensorProxy const &  b,
STensor return_value 
)

Sets the compute nodes of the tensor return_value to represent the product of tensor proxies a and b.

a and b may or may not alias return_value.

References syten::STensorImpl::STensorProxy::autodiff_enabled(), syten::STensorImpl::STensorProxy::get_autodiff(), syten::STensorImpl::Autodiff::ComputeNode::get_cached_tensors(), syten::STensorImpl::Autodiff::ComputeNode::get_output_adjoint(), syten::STensorImpl::make_zero(), syten::mve(), syten::STensorImpl::STensor::new_autodiff_id(), syten::STensorImpl::prod(), and syten::STensorImpl::STensor::set_autodiff_node().

Referenced by syten::STensorImpl::operator*=(), and syten::STensorImpl::prod().

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