Skip to main content

svd_native_tensor

Function svd_native_tensor 

Source
pub fn svd_native_tensor(tensor: &Tensor) -> Result<(Tensor, Tensor, Tensor)>
Expand description

Compute an SVD on a native tensor.

§Errors

Fails with a CpuExecutionContextError when the default context’s engine is already borrowed on this thread, or when the backend SVD reports a non-convergence failure.