pub struct S2vInput<'a> {
pub x: &'a [f32],
pub reference: &'a [f32],
pub mem1: &'a [f32],
pub mem2: &'a [f32],
pub mem4: &'a [f32],
pub t: f32,
pub text_feats: &'a [f32],
pub audio_feats: &'a [f32],
pub pooled: &'a [f32],
pub geom: S2vGeom,
pub scale_factor: [f32; 3],
}Expand description
Inputs of one forward, in the reference’s layouts: latents [T, H, W, C].
Fields§
§x: &'a [f32]§reference: &'a [f32]§mem1: &'a [f32]§mem2: &'a [f32]§mem4: &'a [f32]§t: f32§text_feats: &'a [f32]§audio_feats: &'a [f32]§pooled: &'a [f32]§geom: S2vGeom§scale_factor: [f32; 3]Auto Trait Implementations§
impl<'a> Forget for S2vInput<'a>
impl<'a> Freeze for S2vInput<'a>
impl<'a> Move for S2vInput<'a>
impl<'a> RefUnwindSafe for S2vInput<'a>
impl<'a> Send for S2vInput<'a>
impl<'a> Sync for S2vInput<'a>
impl<'a> Unpin for S2vInput<'a>
impl<'a> UnsafeUnpin for S2vInput<'a>
impl<'a> UnwindSafe for S2vInput<'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