Struct example_rnn_regression::args::Args
source · pub struct Args {
pub cmd_train: bool,
pub cmd_test: bool,
pub flag_batch_size: Option<usize>,
pub flag_learning_rate: Option<f32>,
pub flag_momentum: Option<f32>,
pub arg_networkfile: PathBuf,
}
Fields§
§cmd_train: bool
§cmd_test: bool
§flag_batch_size: Option<usize>
§flag_learning_rate: Option<f32>
§flag_momentum: Option<f32>
§arg_networkfile: PathBuf
Path to the stored network.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Args
impl<'de> Deserialize<'de> for Args
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for Args
impl PartialEq for Args
impl Eq for Args
Auto Trait Implementations§
impl RefUnwindSafe for Args
impl Send for Args
impl Sync for Args
impl Unpin for Args
impl UnwindSafe for Args
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