Struct rai_nn::ConvTranspose2d
source · pub struct ConvTranspose2d { /* private fields */ }Implementations§
Trait Implementations§
source§impl Clone for ConvTranspose2d
impl Clone for ConvTranspose2d
source§fn clone(&self) -> ConvTranspose2d
fn clone(&self) -> ConvTranspose2d
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 ConvTranspose2d
impl Debug for ConvTranspose2d
source§impl Module for ConvTranspose2d
impl Module for ConvTranspose2d
type Input = Tensor
type Output = Tensor
fn forward(&self, input: &Self::Input) -> Self::Output
fn gather_params(&self, params: &mut HashMap<usize, Tensor>)
fn update_params(&self, params: &mut HashMap<usize, Tensor>)
fn gather_named_params( &self, prefix: &str, params: &mut HashMap<String, Tensor> )
fn update_named_params( &self, prefix: &str, params: &mut HashMap<String, Tensor> )
fn params(&self) -> HashMap<usize, Tensor>
fn named_params(&self, prefix: &str) -> HashMap<String, Tensor>
fn to_safetensors<P>(&self, filename: P)
fn update_by_safetensors<P>(&self, filenames: &[P], device: impl AsDevice)
source§impl ValueSpec for ConvTranspose2d
impl ValueSpec for ConvTranspose2d
impl TrainableModule for ConvTranspose2d
Auto Trait Implementations§
impl Freeze for ConvTranspose2d
impl !RefUnwindSafe for ConvTranspose2d
impl !Send for ConvTranspose2d
impl !Sync for ConvTranspose2d
impl Unpin for ConvTranspose2d
impl !UnwindSafe for ConvTranspose2d
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