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