pub struct Skipgram { /* private fields */ }
Expand description
Implementations§
Source§impl Skipgram
impl Skipgram
Sourcepub fn filename<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn filename<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the filename
attribute.
Sourcepub fn batch_size<ArgType: Into<i64>>(self, value: ArgType) -> Self
pub fn batch_size<ArgType: Into<i64>>(self, value: ArgType) -> Self
Sets the batch_size
attribute.
Sourcepub fn window_size<ArgType: Into<i64>>(self, value: ArgType) -> Self
pub fn window_size<ArgType: Into<i64>>(self, value: ArgType) -> Self
Sets the window_size
attribute.
Sourcepub fn min_count<ArgType: Into<i64>>(self, value: ArgType) -> Self
pub fn min_count<ArgType: Into<i64>>(self, value: ArgType) -> Self
Sets the min_count
attribute.
Sourcepub fn subsample<ArgType: Into<f32>>(self, value: ArgType) -> Self
pub fn subsample<ArgType: Into<f32>>(self, value: ArgType) -> Self
Sets the subsample
attribute.
Sourcepub fn target_device_name<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn target_device_name<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the `` attribute.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Skipgram
impl RefUnwindSafe for Skipgram
impl Send for Skipgram
impl Sync for Skipgram
impl Unpin for Skipgram
impl UnwindSafe for Skipgram
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