ConcatAPI

Trait ConcatAPI 

Source
pub trait ConcatAPI<Inp> {
    type Out;

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

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

Required Associated Types§

Required Methods§

Source

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

Provided Methods§

Source

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

Implementations on Foreign Types§

Source§

impl<R, T, B, D> ConcatAPI<()> for (&Vec<&TensorBase<Storage<R, T, B>, D>>, i32)
where R: DataAPI<Data = <B as DeviceRawAPI<T>>::Raw>, T: Clone + Default, D: DimAPI, B: DeviceAPI<T> + DeviceCreationAnyAPI<T> + OpAssignAPI<T, Vec<usize>>,

Source§

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

Source§

fn concat_f( self, ) -> Result<<(&Vec<&TensorBase<Storage<R, T, B>, D>>, i32) as ConcatAPI<()>>::Out, Error>

Source§

impl<R, T, B, D> ConcatAPI<()> for (&Vec<&TensorBase<Storage<R, T, B>, D>>, isize)
where R: DataAPI<Data = <B as DeviceRawAPI<T>>::Raw>, T: Clone + Default, D: DimAPI, B: DeviceAPI<T> + DeviceCreationAnyAPI<T> + OpAssignAPI<T, Vec<usize>>,

Source§

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

Source§

fn concat_f( self, ) -> Result<<(&Vec<&TensorBase<Storage<R, T, B>, D>>, isize) as ConcatAPI<()>>::Out, Error>

Source§

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

Source§

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

Source§

fn concat_f( self, ) -> Result<<(&Vec<&TensorBase<Storage<R, T, B>, D>>, usize) as ConcatAPI<()>>::Out, Error>

Source§

impl<R, T, B, D> ConcatAPI<()> for (&Vec<TensorBase<Storage<R, T, B>, D>>, i32)
where R: DataAPI<Data = <B as DeviceRawAPI<T>>::Raw>, T: Clone + Default, D: DimAPI, B: DeviceAPI<T> + DeviceCreationAnyAPI<T> + OpAssignAPI<T, Vec<usize>>,

Source§

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

Source§

fn concat_f( self, ) -> Result<<(&Vec<TensorBase<Storage<R, T, B>, D>>, i32) as ConcatAPI<()>>::Out, Error>

Source§

impl<R, T, B, D> ConcatAPI<()> for (&Vec<TensorBase<Storage<R, T, B>, D>>, isize)
where R: DataAPI<Data = <B as DeviceRawAPI<T>>::Raw>, T: Clone + Default, D: DimAPI, B: DeviceAPI<T> + DeviceCreationAnyAPI<T> + OpAssignAPI<T, Vec<usize>>,

Source§

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

Source§

fn concat_f( self, ) -> Result<<(&Vec<TensorBase<Storage<R, T, B>, D>>, isize) as ConcatAPI<()>>::Out, Error>

Source§

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

Source§

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

Source§

fn concat_f( self, ) -> Result<<(&Vec<TensorBase<Storage<R, T, B>, D>>, usize) as ConcatAPI<()>>::Out, Error>

Source§

impl<R, T, B, D> ConcatAPI<()> for (Vec<&TensorBase<Storage<R, T, B>, D>>, i32)
where R: DataAPI<Data = <B as DeviceRawAPI<T>>::Raw>, T: Clone + Default, D: DimAPI, B: DeviceAPI<T> + DeviceCreationAnyAPI<T> + OpAssignAPI<T, Vec<usize>>,

Source§

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

Source§

fn concat_f( self, ) -> Result<<(Vec<&TensorBase<Storage<R, T, B>, D>>, i32) as ConcatAPI<()>>::Out, Error>

Source§

impl<R, T, B, D> ConcatAPI<()> for (Vec<&TensorBase<Storage<R, T, B>, D>>, isize)
where R: DataAPI<Data = <B as DeviceRawAPI<T>>::Raw>, T: Clone + Default, D: DimAPI, B: DeviceAPI<T> + DeviceCreationAnyAPI<T> + OpAssignAPI<T, Vec<usize>>,

Source§

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

Source§

fn concat_f( self, ) -> Result<<(Vec<&TensorBase<Storage<R, T, B>, D>>, isize) as ConcatAPI<()>>::Out, Error>

Source§

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

Source§

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

Source§

fn concat_f( self, ) -> Result<<(Vec<&TensorBase<Storage<R, T, B>, D>>, usize) as ConcatAPI<()>>::Out, Error>

Source§

impl<R, T, B, D> ConcatAPI<()> for (Vec<TensorBase<Storage<R, T, B>, D>>, i32)
where R: DataAPI<Data = <B as DeviceRawAPI<T>>::Raw>, T: Clone + Default, D: DimAPI, B: DeviceAPI<T> + DeviceCreationAnyAPI<T> + OpAssignAPI<T, Vec<usize>>,

Source§

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

Source§

fn concat_f( self, ) -> Result<<(Vec<TensorBase<Storage<R, T, B>, D>>, i32) as ConcatAPI<()>>::Out, Error>

Source§

impl<R, T, B, D> ConcatAPI<()> for (Vec<TensorBase<Storage<R, T, B>, D>>, isize)
where R: DataAPI<Data = <B as DeviceRawAPI<T>>::Raw>, T: Clone + Default, D: DimAPI, B: DeviceAPI<T> + DeviceCreationAnyAPI<T> + OpAssignAPI<T, Vec<usize>>,

Source§

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

Source§

fn concat_f( self, ) -> Result<<(Vec<TensorBase<Storage<R, T, B>, D>>, isize) as ConcatAPI<()>>::Out, Error>

Source§

impl<R, T, B, D> ConcatAPI<()> for (Vec<TensorBase<Storage<R, T, B>, D>>, usize)
where R: DataAPI<Data = <B as DeviceRawAPI<T>>::Raw>, T: Clone + Default, D: DimAPI, B: DeviceAPI<T> + DeviceCreationAnyAPI<T> + OpAssignAPI<T, Vec<usize>>,

Source§

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

Source§

fn concat_f( self, ) -> Result<<(Vec<TensorBase<Storage<R, T, B>, D>>, usize) as ConcatAPI<()>>::Out, Error>

Source§

impl<R, T, B, D, const N: usize> ConcatAPI<()> for ([&TensorBase<Storage<R, T, B>, D>; N], i32)
where R: DataAPI<Data = <B as DeviceRawAPI<T>>::Raw>, T: Clone + Default, D: DimAPI, B: DeviceAPI<T> + DeviceCreationAnyAPI<T> + OpAssignAPI<T, Vec<usize>>,

Source§

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

Source§

fn concat_f( self, ) -> Result<<([&TensorBase<Storage<R, T, B>, D>; N], i32) as ConcatAPI<()>>::Out, Error>

Source§

impl<R, T, B, D, const N: usize> ConcatAPI<()> for ([&TensorBase<Storage<R, T, B>, D>; N], isize)
where R: DataAPI<Data = <B as DeviceRawAPI<T>>::Raw>, T: Clone + Default, D: DimAPI, B: DeviceAPI<T> + DeviceCreationAnyAPI<T> + OpAssignAPI<T, Vec<usize>>,

Source§

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

Source§

fn concat_f( self, ) -> Result<<([&TensorBase<Storage<R, T, B>, D>; N], isize) as ConcatAPI<()>>::Out, Error>

Source§

impl<R, T, B, D, const N: usize> ConcatAPI<()> for ([&TensorBase<Storage<R, T, B>, D>; N], usize)
where R: DataAPI<Data = <B as DeviceRawAPI<T>>::Raw>, T: Clone + Default, D: DimAPI, B: DeviceAPI<T> + DeviceCreationAnyAPI<T> + OpAssignAPI<T, Vec<usize>>,

Source§

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

Source§

fn concat_f( self, ) -> Result<<([&TensorBase<Storage<R, T, B>, D>; N], usize) as ConcatAPI<()>>::Out, Error>

Source§

impl<R, T, B, D, const N: usize> ConcatAPI<()> for ([TensorBase<Storage<R, T, B>, D>; N], i32)
where R: DataAPI<Data = <B as DeviceRawAPI<T>>::Raw>, T: Clone + Default, D: DimAPI, B: DeviceAPI<T> + DeviceCreationAnyAPI<T> + OpAssignAPI<T, Vec<usize>>,

Source§

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

Source§

fn concat_f( self, ) -> Result<<([TensorBase<Storage<R, T, B>, D>; N], i32) as ConcatAPI<()>>::Out, Error>

Source§

impl<R, T, B, D, const N: usize> ConcatAPI<()> for ([TensorBase<Storage<R, T, B>, D>; N], isize)
where R: DataAPI<Data = <B as DeviceRawAPI<T>>::Raw>, T: Clone + Default, D: DimAPI, B: DeviceAPI<T> + DeviceCreationAnyAPI<T> + OpAssignAPI<T, Vec<usize>>,

Source§

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

Source§

fn concat_f( self, ) -> Result<<([TensorBase<Storage<R, T, B>, D>; N], isize) as ConcatAPI<()>>::Out, Error>

Source§

impl<R, T, B, D, const N: usize> ConcatAPI<()> for ([TensorBase<Storage<R, T, B>, D>; N], usize)
where R: DataAPI<Data = <B as DeviceRawAPI<T>>::Raw>, T: Clone + Default, D: DimAPI, B: DeviceAPI<T> + DeviceCreationAnyAPI<T> + OpAssignAPI<T, Vec<usize>>,

Source§

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

Source§

fn concat_f( self, ) -> Result<<([TensorBase<Storage<R, T, B>, D>; N], usize) as ConcatAPI<()>>::Out, Error>

Source§

impl<R, T, B, D, const N: usize> ConcatAPI<()> for [&TensorBase<Storage<R, T, B>, D>; N]
where R: DataAPI<Data = <B as DeviceRawAPI<T>>::Raw>, T: Clone + Default, D: DimAPI, B: DeviceAPI<T> + DeviceCreationAnyAPI<T> + OpAssignAPI<T, Vec<usize>>,

Source§

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

Source§

fn concat_f( self, ) -> Result<<[&TensorBase<Storage<R, T, B>, D>; N] as ConcatAPI<()>>::Out, Error>

Source§

impl<R, T, B, D, const N: usize> ConcatAPI<()> for [TensorBase<Storage<R, T, B>, D>; N]
where R: DataAPI<Data = <B as DeviceRawAPI<T>>::Raw>, T: Clone + Default, D: DimAPI, B: DeviceAPI<T> + DeviceCreationAnyAPI<T> + OpAssignAPI<T, Vec<usize>>,

Source§

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

Source§

fn concat_f( self, ) -> Result<<[TensorBase<Storage<R, T, B>, D>; N] as ConcatAPI<()>>::Out, Error>

Implementors§

Source§

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

Source§

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

Source§

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

Source§

impl<R, T, B, D> ConcatAPI<()> for Vec<TensorBase<Storage<R, T, B>, D>>
where R: DataAPI<Data = <B as DeviceRawAPI<T>>::Raw>, T: Clone + Default, D: DimAPI, B: DeviceAPI<T> + DeviceCreationAnyAPI<T> + OpAssignAPI<T, Vec<usize>>,