pub struct Architecture {
pub id: String,
pub layers: Vec<LayerConfig>,
pub globalconfig: GlobalConfig,
pub connections: Vec<Connection>,
pub metadata: ArchitectureMetadata,
pub fitness: f64,
pub optimizer: OptimizerType,
pub loss_function: String,
pub metrics: Vec<String>,
}
Expand description
Neural architecture representation
Fields§
§id: String
Architecture identifier
layers: Vec<LayerConfig>
Layers in the architecture
globalconfig: GlobalConfig
Global configuration
connections: Vec<Connection>
Connection graph between layers
metadata: ArchitectureMetadata
Architecture metadata
fitness: f64
Fitness score for evolutionary algorithms
optimizer: OptimizerType
Optimizer type for this architecture
loss_function: String
Loss function for this architecture
metrics: Vec<String>
Metrics to evaluate for this architecture
Trait Implementations§
Source§impl Clone for Architecture
impl Clone for Architecture
Source§fn clone(&self) -> Architecture
fn clone(&self) -> Architecture
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for Architecture
impl RefUnwindSafe for Architecture
impl Send for Architecture
impl Sync for Architecture
impl Unpin for Architecture
impl UnwindSafe for Architecture
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