pub struct TransferLearningState {
pub current_epoch: usize,
pub total_layers: usize,
pub frozen_layers: usize,
pub trainable_layers: usize,
pub reduced_lr_layers: usize,
pub strategy: TransferStrategy,
}
Expand description
Summary of transfer learning state
Fields§
§current_epoch: usize
Current training epoch
total_layers: usize
Total number of layers
frozen_layers: usize
Number of frozen layers
trainable_layers: usize
Number of trainable layers
reduced_lr_layers: usize
Number of layers with reduced learning rate
strategy: TransferStrategy
Current transfer strategy
Trait Implementations§
Source§impl Clone for TransferLearningState
impl Clone for TransferLearningState
Source§fn clone(&self) -> TransferLearningState
fn clone(&self) -> TransferLearningState
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for TransferLearningState
impl Debug for TransferLearningState
Auto Trait Implementations§
impl Freeze for TransferLearningState
impl RefUnwindSafe for TransferLearningState
impl Send for TransferLearningState
impl Sync for TransferLearningState
impl Unpin for TransferLearningState
impl UnwindSafe for TransferLearningState
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more