pub enum Model3 {
Static,
Pretrained(Arc<Net>),
Overfit {
hidden: Vec<usize>,
per_epoch: usize,
epochs: usize,
},
}Expand description
Probability model of a v3 stream.
Variants§
Static
Static per-context priors (hand contexts).
Pretrained(Arc<Net>)
A pretrained integer MLP, referenced by fingerprint (register it with
crate::learned::register before decoding).
Overfit
An MLP trained at encode time; its weights are shipped in the stream.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Model3
impl RefUnwindSafe for Model3
impl Send for Model3
impl Sync for Model3
impl Unpin for Model3
impl UnsafeUnpin for Model3
impl UnwindSafe for Model3
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