pub struct VaeConvRef<'a> {
pub w: &'a [f32],
pub b: &'a [f32],
pub oc: usize,
pub ic: usize,
pub k: usize,
}Expand description
One conv of the decoder as the device chain sees it: weight
[oc, ic, k, k] row-major f32, bias [oc], stride 1, pad k/2.
Fields§
§w: &'a [f32]§b: &'a [f32]§oc: usize§ic: usize§k: usizeTrait Implementations§
Source§impl<'a> Clone for VaeConvRef<'a>
impl<'a> Clone for VaeConvRef<'a>
impl<'a> Copy for VaeConvRef<'a>
Auto Trait Implementations§
impl<'a> Freeze for VaeConvRef<'a>
impl<'a> RefUnwindSafe for VaeConvRef<'a>
impl<'a> Send for VaeConvRef<'a>
impl<'a> Sync for VaeConvRef<'a>
impl<'a> Unpin for VaeConvRef<'a>
impl<'a> UnsafeUnpin for VaeConvRef<'a>
impl<'a> UnwindSafe for VaeConvRef<'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