pub struct CudaTensorLinalgBackend;Expand description
Trait Implementations§
Source§impl Clone for CudaTensorLinalgBackend
impl Clone for CudaTensorLinalgBackend
Source§fn clone(&self) -> CudaTensorLinalgBackend
fn clone(&self) -> CudaTensorLinalgBackend
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CudaTensorLinalgBackend
impl Debug for CudaTensorLinalgBackend
Source§impl Default for CudaTensorLinalgBackend
impl Default for CudaTensorLinalgBackend
Source§fn default() -> CudaTensorLinalgBackend
fn default() -> CudaTensorLinalgBackend
Returns the “default value” for a type. Read more
Source§impl<T: CudaLinalgScalar> TensorLinalgPrims<T> for CudaTensorLinalgBackend
impl<T: CudaLinalgScalar> TensorLinalgPrims<T> for CudaTensorLinalgBackend
type Context = CudaContext
fn has_linalg_support(op: LinalgCapabilityOp) -> bool
Source§fn solve_ex(
ctx: &mut Self::Context,
a: &Tensor<T>,
b: &Tensor<T>,
) -> Result<SolveTensorExResult<T>>
fn solve_ex( ctx: &mut Self::Context, a: &Tensor<T>, b: &Tensor<T>, ) -> Result<SolveTensorExResult<T>>
Solve a square linear system while returning per-batch numerical status. Read more
fn solve( ctx: &mut Self::Context, a: &Tensor<T>, b: &Tensor<T>, ) -> Result<Tensor<T>>
fn lu_solve( ctx: &mut Self::Context, factors: &Tensor<T>, pivots: &Tensor<i32>, b: &Tensor<T>, ) -> Result<Tensor<T>>
fn solve_triangular( ctx: &mut Self::Context, a: &Tensor<T>, b: &Tensor<T>, upper: bool, ) -> Result<Tensor<T>>
fn qr(_ctx: &mut Self::Context, _a: &Tensor<T>) -> Result<QrTensorResult<T>>
fn thin_svd( ctx: &mut Self::Context, a: &Tensor<T>, ) -> Result<SvdTensorResult<T>>
fn svdvals(_ctx: &mut Self::Context, _a: &Tensor<T>) -> Result<Tensor<T::Real>>
Source§fn lu_factor_ex(
_ctx: &mut Self::Context,
_a: &Tensor<T>,
) -> Result<LuTensorExResult<T>>
fn lu_factor_ex( _ctx: &mut Self::Context, _a: &Tensor<T>, ) -> Result<LuTensorExResult<T>>
Compute an LU factorization while returning per-batch numerical status. Read more
fn lu_factor( _ctx: &mut Self::Context, _a: &Tensor<T>, ) -> Result<LuTensorResult<T>>
Source§fn lu_factor_no_pivot(
_ctx: &mut Self::Context,
_a: &Tensor<T>,
) -> Result<LuTensorResult<T>>
fn lu_factor_no_pivot( _ctx: &mut Self::Context, _a: &Tensor<T>, ) -> Result<LuTensorResult<T>>
Compute an LU factorization without pivoting. Read more
Source§fn cholesky_ex(
_ctx: &mut Self::Context,
_a: &Tensor<T>,
) -> Result<CholeskyTensorExResult<T>>
fn cholesky_ex( _ctx: &mut Self::Context, _a: &Tensor<T>, ) -> Result<CholeskyTensorExResult<T>>
Compute a Cholesky factorization while returning per-batch numerical status. Read more
fn cholesky(ctx: &mut Self::Context, a: &Tensor<T>) -> Result<Tensor<T>>
fn eigen_sym( _ctx: &mut Self::Context, _a: &Tensor<T>, ) -> Result<EigenTensorResult<T>>
fn eig(_ctx: &mut Self::Context, _a: &Tensor<T>) -> Result<EigTensorResult<T>>
impl Copy for CudaTensorLinalgBackend
Auto Trait Implementations§
impl Freeze for CudaTensorLinalgBackend
impl RefUnwindSafe for CudaTensorLinalgBackend
impl Send for CudaTensorLinalgBackend
impl Sync for CudaTensorLinalgBackend
impl Unpin for CudaTensorLinalgBackend
impl UnwindSafe for CudaTensorLinalgBackend
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> DistributionExt for Twhere
T: ?Sized,
impl<T> DistributionExt for Twhere
T: ?Sized,
fn rand<T>(&self, rng: &mut (impl Rng + ?Sized)) -> Twhere
Self: Distribution<T>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more