Trait TensorImagAPI

Source
pub trait TensorImagAPI {
    type Output;

    // Required method
    fn imag_f(self) -> Result<Self::Output>;

    // Provided method
    fn imag(self) -> Self::Output
       where Self: Sized { ... }
}

Required Associated Types§

Required Methods§

Source

fn imag_f(self) -> Result<Self::Output>

Provided Methods§

Source

fn imag(self) -> Self::Output
where Self: Sized,

Implementors§

Source§

impl<R, T, B, D> TensorImagAPI for &TensorAny<R, T, B, D>
where D: DimAPI, R: DataAPI<Data = <B as DeviceRawAPI<T>>::Raw>, B: DeviceAPI<T> + DeviceImagAPI<T, D> + DeviceCreationAnyAPI<B::TOut>,

Source§

type Output = TensorBase<Storage<DataOwned<<B as DeviceRawAPI<<B as DeviceImagAPI<T, D>>::TOut>>::Raw>, <B as DeviceImagAPI<T, D>>::TOut, B>, D>

Source§

impl<T, B, D> TensorImagAPI for Tensor<T, B, D>
where D: DimAPI, B: DeviceAPI<T> + DeviceImagAPI<T, D, TOut = T> + DeviceCreationAnyAPI<T>,

Source§

impl<T, B, D> TensorImagAPI for TensorView<'_, T, B, D>
where D: DimAPI, B: DeviceAPI<T> + DeviceImagAPI<T, D> + DeviceCreationAnyAPI<B::TOut>,

Source§

type Output = TensorBase<Storage<DataOwned<<B as DeviceRawAPI<<B as DeviceImagAPI<T, D>>::TOut>>::Raw>, <B as DeviceImagAPI<T, D>>::TOut, B>, D>