Struct rai_core::primitives::Permute
source · pub struct Permute {
pub dims: Vec<usize>,
}
Fields§
§dims: Vec<usize>
Implementations§
Trait Implementations§
source§impl PartialEq for Permute
impl PartialEq for Permute
source§impl Primitive for Permute
impl Primitive for Permute
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 Permute
impl StructuralPartialEq for Permute
Auto Trait Implementations§
impl Freeze for Permute
impl RefUnwindSafe for Permute
impl Send for Permute
impl Sync for Permute
impl Unpin for Permute
impl UnwindSafe for Permute
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