pub struct VaeUpRef<'a> {
pub resnets: Vec<VaeResnetRef<'a>>,
pub upsample: Option<VaeConvRef<'a>>,
}Expand description
One up block: its resnets in order, then (if present) nearest-2×
upsample followed by upsample conv.
Fields§
§resnets: Vec<VaeResnetRef<'a>>§upsample: Option<VaeConvRef<'a>>Auto Trait Implementations§
impl<'a> Freeze for VaeUpRef<'a>
impl<'a> RefUnwindSafe for VaeUpRef<'a>
impl<'a> Send for VaeUpRef<'a>
impl<'a> Sync for VaeUpRef<'a>
impl<'a> Unpin for VaeUpRef<'a>
impl<'a> UnsafeUnpin for VaeUpRef<'a>
impl<'a> UnwindSafe for VaeUpRef<'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