TensorCeilAPI

Trait TensorCeilAPI 

Source
pub trait TensorCeilAPI {
    type Output;

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

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

Required Associated Types§

Required Methods§

Source

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

Provided Methods§

Source

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

Implementors§

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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