pub struct ProgressiveNAS {
pub stage: usize,
pub stage_architectures: Vec<Vec<Cell>>,
pub complexity_budget: f32,
}Expand description
Progressive Neural Architecture Search
Fields§
§stage: usizeCurrent search stage
stage_architectures: Vec<Vec<Cell>>Architectures at each stage
complexity_budget: f32Complexity budget
Implementations§
Source§impl ProgressiveNAS
impl ProgressiveNAS
Sourcepub fn next_stage(&mut self, num_nodes: usize, num_candidates: usize)
pub fn next_stage(&mut self, num_nodes: usize, num_candidates: usize)
Progress to next stage
Sourcepub fn current_architectures(&self) -> &[Cell]
pub fn current_architectures(&self) -> &[Cell]
Get current stage architectures
Auto Trait Implementations§
impl Freeze for ProgressiveNAS
impl RefUnwindSafe for ProgressiveNAS
impl Send for ProgressiveNAS
impl Sync for ProgressiveNAS
impl Unpin for ProgressiveNAS
impl UnwindSafe for ProgressiveNAS
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> 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