pub enum TimestepSpacing {
Leading,
Linspace,
Trailing,
}
Expand description
Time step spacing for the diffusion process.
“linspace”, “leading”, “trailing” corresponds to annotation of Table 2. of https://arxiv.org/abs/2305.08891
Variants§
Trait Implementations§
source§impl Clone for TimestepSpacing
impl Clone for TimestepSpacing
source§fn clone(&self) -> TimestepSpacing
fn clone(&self) -> TimestepSpacing
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TimestepSpacing
impl Debug for TimestepSpacing
source§impl Default for TimestepSpacing
impl Default for TimestepSpacing
impl Copy for TimestepSpacing
Auto Trait Implementations§
impl Freeze for TimestepSpacing
impl RefUnwindSafe for TimestepSpacing
impl Send for TimestepSpacing
impl Sync for TimestepSpacing
impl Unpin for TimestepSpacing
impl UnwindSafe for TimestepSpacing
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