|
inline |
\( a_i = a_i + f b_i \) for generic dense tensors.
Will fail at runtime if inappropriate dense tensors are supplied.
a | the dense tensor to be updated during the call |
b | the second dense tensor, to be scaled by the factor and added to a |
factor | the scaling factor for the second dense tensor |
ezeros | if EliminateZeros::Yes , will set small resulting elements to zero |
References addScaled(), syten::GenericDenseTensorImpl::GenericDenseTensor< rank, Scalar >::cuda(), syten::EnvVars::cuda_size_to_gpu, syten::GenericDenseTensorImpl::GenericDenseTensor< rank, Scalar >::is_cuda(), syten::GenericDenseTensorImpl::GenericDenseTensor< rank, Scalar >::make_cuda(), syten::GenericDenseTensorImpl::GenericDenseTensor< rank, Scalar >::make_standard(), syten::GenericDenseTensorImpl::GenericDenseTensor< rank, Scalar >::size(), and syten::GenericDenseTensorImpl::GenericDenseTensor< rank, Scalar >::standard().