Trait dfdx::tensor::HasErr

source ·
pub trait HasErr: Sized {
    type Err: Debug + Display;
}
Expand description

Represents something that has an error associated type

Required Associated Types§

Implementors§

source§

impl HasErr for Cpu

source§

impl HasErr for Cuda

source§

impl<S: Shape, E, D: Storage<E>, T> HasErr for Tensor<S, E, D, T>

§

type Err = <D as HasErr>::Err