Struct border_tch_agent::mlp::MlpConfig
source · pub struct MlpConfig { /* private fields */ }Expand description
Configuration of Mlp.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for MlpConfig
impl<'de> Deserialize<'de> for MlpConfig
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 OutDim for MlpConfig
impl OutDim for MlpConfig
source§fn get_out_dim(&self) -> i64
fn get_out_dim(&self) -> i64
Returns the dimension of output vectors, i.e., the number of discrete outputs.
source§fn set_out_dim(&mut self, out_dim: i64)
fn set_out_dim(&mut self, out_dim: i64)
Sets the output dimension.
source§impl PartialEq<MlpConfig> for MlpConfig
impl PartialEq<MlpConfig> for MlpConfig
impl StructuralPartialEq for MlpConfig
Auto Trait Implementations§
impl RefUnwindSafe for MlpConfig
impl Send for MlpConfig
impl Sync for MlpConfig
impl Unpin for MlpConfig
impl UnwindSafe for MlpConfig
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