pub struct GenConfig {
pub steps: usize,
pub guidance: f32,
pub t_shift: f32,
pub layer_penalty: f32,
pub position_temperature: f32,
pub class_temperature: f32,
pub denoise: bool,
pub postprocess: bool,
pub seed: u64,
}Expand description
The release’s generation defaults (OmniVoiceGenerationConfig).
Fields§
§steps: usize§guidance: f32§t_shift: f32§layer_penalty: f32§position_temperature: f32Gumbel temperature on which positions unmask (0: by confidence alone).
class_temperature: f32Gumbel temperature on the codes (0: argmax).
denoise: bool§postprocess: bool§seed: u64Trait Implementations§
Auto Trait Implementations§
impl Forget for GenConfig
impl Freeze for GenConfig
impl Move for GenConfig
impl RefUnwindSafe for GenConfig
impl Send for GenConfig
impl Sync for GenConfig
impl Unpin for GenConfig
impl UnsafeUnpin for GenConfig
impl UnwindSafe for GenConfig
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