pub struct TrainConfig {
pub epochs: usize,
pub batch_size: usize,
pub shuffle_seed: Option<u64>,
/* private fields */
}Fields§
§epochs: usize§batch_size: usize§shuffle_seed: Option<u64>Implementations§
Source§impl TrainConfig
impl TrainConfig
Trait Implementations§
Source§impl Debug for TrainConfig
impl Debug for TrainConfig
Auto Trait Implementations§
impl Freeze for TrainConfig
impl !RefUnwindSafe for TrainConfig
impl !Send for TrainConfig
impl !Sync for TrainConfig
impl Unpin for TrainConfig
impl UnsafeUnpin for TrainConfig
impl !UnwindSafe for TrainConfig
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