FullLikeAPI

Trait FullLikeAPI 

Source
pub trait FullLikeAPI<Inp> {
    type Out;

    // Required method
    fn full_like_f(self) -> Result<Self::Out, Error>;

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

Required Associated Types§

Required Methods§

Source

fn full_like_f(self) -> Result<Self::Out, Error>

Provided Methods§

Source

fn full_like(self) -> Self::Out
where Self: Sized,

Implementations on Foreign Types§

Source§

impl<R, T, B, D> FullLikeAPI<()> for (&TensorBase<Storage<R, T, B>, D>, T)
where T: Clone, R: DataAPI<Data = <B as DeviceRawAPI<T>>::Raw>, D: DimAPI, B: DeviceAPI<T> + DeviceCreationAnyAPI<T>,

Source§

type Out = TensorBase<Storage<DataOwned<<B as DeviceRawAPI<T>>::Raw>, T, B>, D>

Source§

fn full_like_f( self, ) -> Result<<(&TensorBase<Storage<R, T, B>, D>, T) as FullLikeAPI<()>>::Out, Error>

Source§

impl<R, T, B, D> FullLikeAPI<()> for (&TensorBase<Storage<R, T, B>, D>, T, TensorIterOrder)
where T: Clone, R: DataAPI<Data = <B as DeviceRawAPI<T>>::Raw>, D: DimAPI, B: DeviceAPI<T> + DeviceCreationAnyAPI<T>,

Source§

type Out = TensorBase<Storage<DataOwned<<B as DeviceRawAPI<T>>::Raw>, T, B>, D>

Source§

fn full_like_f( self, ) -> Result<<(&TensorBase<Storage<R, T, B>, D>, T, TensorIterOrder) as FullLikeAPI<()>>::Out, Error>

Source§

impl<R, T, B, D> FullLikeAPI<()> for (&TensorBase<Storage<R, T, B>, D>, T, TensorIterOrder, &B)
where T: Clone, R: DataAPI<Data = <B as DeviceRawAPI<T>>::Raw>, D: DimAPI, B: DeviceAPI<T> + DeviceCreationAnyAPI<T>,

Source§

type Out = TensorBase<Storage<DataOwned<<B as DeviceRawAPI<T>>::Raw>, T, B>, D>

Source§

fn full_like_f( self, ) -> Result<<(&TensorBase<Storage<R, T, B>, D>, T, TensorIterOrder, &B) as FullLikeAPI<()>>::Out, Error>

Source§

impl<R, T, B, D> FullLikeAPI<()> for (&TensorBase<Storage<R, T, B>, D>, T, &B)
where T: Clone, R: DataAPI<Data = <B as DeviceRawAPI<T>>::Raw>, D: DimAPI, B: DeviceAPI<T> + DeviceCreationAnyAPI<T>,

Source§

type Out = TensorBase<Storage<DataOwned<<B as DeviceRawAPI<T>>::Raw>, T, B>, D>

Source§

fn full_like_f( self, ) -> Result<<(&TensorBase<Storage<R, T, B>, D>, T, &B) as FullLikeAPI<()>>::Out, Error>

Implementors§