Type Alias candle_core::error::Result

source ·
pub type Result<T> = Result<T, Error>;

Aliased Type§

enum Result<T> {
    Ok(T),
    Err(Error),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(Error)

Contains the error value

Trait Implementations§

source§

impl<B: Borrow<Tensor>> Add<&Tensor> for Result<B>

§

type Output = Result<Tensor, Error>

The resulting type after applying the + operator.
source§

fn add(self, rhs: &Tensor) -> Self::Output

Performs the + operation. Read more
source§

impl<B: Borrow<Tensor>> Add<Tensor> for Result<B>

§

type Output = Result<Tensor, Error>

The resulting type after applying the + operator.
source§

fn add(self, rhs: Tensor) -> Self::Output

Performs the + operation. Read more
source§

impl<B: Borrow<Tensor>> Div<&Tensor> for Result<B>

§

type Output = Result<Tensor, Error>

The resulting type after applying the / operator.
source§

fn div(self, rhs: &Tensor) -> Self::Output

Performs the / operation. Read more
source§

impl<B: Borrow<Tensor>> Div<Tensor> for Result<B>

§

type Output = Result<Tensor, Error>

The resulting type after applying the / operator.
source§

fn div(self, rhs: Tensor) -> Self::Output

Performs the / operation. Read more
source§

impl<B: Borrow<Tensor>> Mul<&Tensor> for Result<B>

§

type Output = Result<Tensor, Error>

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &Tensor) -> Self::Output

Performs the * operation. Read more
source§

impl<B: Borrow<Tensor>> Mul<Tensor> for Result<B>

§

type Output = Result<Tensor, Error>

The resulting type after applying the * operator.
source§

fn mul(self, rhs: Tensor) -> Self::Output

Performs the * operation. Read more
source§

impl<B: Borrow<Tensor>> Sub<&Tensor> for Result<B>

§

type Output = Result<Tensor, Error>

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &Tensor) -> Self::Output

Performs the - operation. Read more
source§

impl<B: Borrow<Tensor>> Sub<Tensor> for Result<B>

§

type Output = Result<Tensor, Error>

The resulting type after applying the - operator.
source§

fn sub(self, rhs: Tensor) -> Self::Output

Performs the - operation. Read more