SyTen

◆ hadamard()

STensor syten::STensorImpl::hadamard ( STensor const &  a,
STensor  b 
)

Takes the Hadamard product of two rank-2 tensors.

Remarks
This function is not autodifferentiable.

References syten::STensorImpl::STensor::autodiff_enabled(), syten::STensorImpl::STensor::b(), syten::STensorImpl::STensor::get(), hadamard(), std::move(), multi_transpose(), syten::STensorImpl::STensor::rank(), summarise(), SYTEN_ASSERT, and SYTEN_ASSERT_MSG.

Referenced by hadamard(), sqrt(), and syten::STensorImpl::Autodiff::svd_adjoint_evaluator().

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