Struct rai_core::primitives::Concatenate
source · pub struct Concatenate {
pub dim: usize,
}
Fields§
§dim: usize
Implementations§
Trait Implementations§
source§impl Clone for Concatenate
impl Clone for Concatenate
source§fn clone(&self) -> Concatenate
fn clone(&self) -> Concatenate
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for Concatenate
impl Debug for Concatenate
source§impl<D: Device> Eval<D, Concatenate> for CandleBackend
impl<D: Device> Eval<D, Concatenate> for CandleBackend
source§impl PartialEq for Concatenate
impl PartialEq for Concatenate
source§fn eq(&self, other: &Concatenate) -> bool
fn eq(&self, other: &Concatenate) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Primitive for Concatenate
impl Primitive for Concatenate
fn clone_boxed(&self) -> Box<dyn Primitive>
fn as_any(&self) -> &dyn Any
fn dot_label(&self) -> String
fn jvp( &self, _output: &Tensor, primals: &[Tensor], tangents: &[Tensor] ) -> Tensor
fn vjp( &self, _output: &Tensor, primals: &[Tensor], cotangent: &Tensor ) -> Vec<Tensor>
impl Eq for Concatenate
impl StructuralPartialEq for Concatenate
Auto Trait Implementations§
impl Freeze for Concatenate
impl RefUnwindSafe for Concatenate
impl Send for Concatenate
impl Sync for Concatenate
impl Unpin for Concatenate
impl UnwindSafe for Concatenate
Blanket Implementations§
source§impl<T, M> ApplyModule<M> for Twhere
M: Module<Input = T>,
impl<T, M> ApplyModule<M> for Twhere
M: Module<Input = T>,
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more