pub enum NetType {
Layer,
Shortcut,
}
Expand description
Network types
Variants§
Layer
Each layer of neurons only has connections to the next layer.
Shortcut
Each layer has connections to all following layers.
Implementations§
source§impl NetType
impl NetType
sourcepub fn from_nettype_enum(nt_enum: fann_nettype_enum) -> NetType
pub fn from_nettype_enum(nt_enum: fann_nettype_enum) -> NetType
Create a NetType
from a fann_sys::fann_nettype_enum
.
Trait Implementations§
source§impl PartialEq for NetType
impl PartialEq for NetType
impl Copy for NetType
impl Eq for NetType
impl StructuralPartialEq for NetType
Auto Trait Implementations§
impl RefUnwindSafe for NetType
impl Send for NetType
impl Sync for NetType
impl Unpin for NetType
impl UnwindSafe for NetType
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