Skip to main content

LinalgOps

Trait LinalgOps 

pub trait LinalgOps: Backend {
    // Provided method
    fn svd(
        tensor: Self::FloatTensorPrimitive,
        sweeps: usize,
        swap: bool,
    ) -> (Self::FloatTensorPrimitive, Self::FloatTensorPrimitive, Self::FloatTensorPrimitive) { ... }
}
Expand description

Linear algebra operations supplied by a backend extension.

Provided Methods§

fn svd( tensor: Self::FloatTensorPrimitive, sweeps: usize, swap: bool, ) -> (Self::FloatTensorPrimitive, Self::FloatTensorPrimitive, Self::FloatTensorPrimitive)

Computes a reduced singular value decomposition.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

§

impl LinalgOps for Dispatch

§

impl LinalgOps for Flex

§

impl<B> LinalgOps for Fusion<B>

Available on crate feature fusion only.