pub enum Vae3dStep<'a> {
Conv {
w: &'a [f32],
b: &'a [f32],
in_ch: usize,
out_ch: usize,
},
NormSilu {
eps: f32,
},
Save,
AddSaved,
DepthToSpace {
p: (usize, usize, usize),
},
}Expand description
One stage of the LTX-2.5 video VAE’s decode over a volume
[c][f][h][w].
Variants§
Conv
A 3x3x3 convolution with zero padding in space and replicated frames
in time: w [out_ch][in_ch * 27], b [out_ch].
NormSilu
The RMS over the channels at every position (eps under the root),
then SiLU.
Save
Keep the activation for a later AddSaved.
AddSaved
Add the kept activation.
DepthToSpace
Depth to space over (frames, height, width), the channels laid out
(c p1 p2 p3); a frame stride of 2 leaves the first frame out.
Auto Trait Implementations§
impl<'a> Forget for Vae3dStep<'a>
impl<'a> Freeze for Vae3dStep<'a>
impl<'a> Move for Vae3dStep<'a>
impl<'a> RefUnwindSafe for Vae3dStep<'a>
impl<'a> Send for Vae3dStep<'a>
impl<'a> Sync for Vae3dStep<'a>
impl<'a> Unpin for Vae3dStep<'a>
impl<'a> UnsafeUnpin for Vae3dStep<'a>
impl<'a> UnwindSafe for Vae3dStep<'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