pub struct Qi21VaeUpRef<'a> {
pub resnets: Vec<Qi21VaeResRef<'a>>,
pub up: Option<(Qi21VaeConvRef<'a>, usize)>,
pub in_dim: usize,
pub out_dim: usize,
}Expand description
An up block: its resnets, then (all but the last block) nearest-2× +
the 3×3 conv, plus the DupUp shortcut of the block’s input (in_dim →
out_dim channels, temporal factor ft).
Fields§
§resnets: Vec<Qi21VaeResRef<'a>>§up: Option<(Qi21VaeConvRef<'a>, usize)>§in_dim: usize§out_dim: usizeAuto Trait Implementations§
impl<'a> Freeze for Qi21VaeUpRef<'a>
impl<'a> RefUnwindSafe for Qi21VaeUpRef<'a>
impl<'a> Send for Qi21VaeUpRef<'a>
impl<'a> Sync for Qi21VaeUpRef<'a>
impl<'a> Unpin for Qi21VaeUpRef<'a>
impl<'a> UnsafeUnpin for Qi21VaeUpRef<'a>
impl<'a> UnwindSafe for Qi21VaeUpRef<'a>
Blanket Implementations§
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