pub struct PcActorWeights {
pub layers: Vec<Layer>,
pub rezero_alpha: Vec<f64>,
pub skip_projections: Vec<Option<Matrix>>,
}Expand description
Serializable weight snapshot for the PC actor.
Fields§
§layers: Vec<Layer>Layer snapshots in order (hidden layers + output layer).
rezero_alpha: Vec<f64>ReZero scaling factors for residual skip connections.
skip_projections: Vec<Option<Matrix>>Projection matrices for heterogeneous skip connections.
Trait Implementations§
Source§impl Clone for PcActorWeights
impl Clone for PcActorWeights
Source§fn clone(&self) -> PcActorWeights
fn clone(&self) -> PcActorWeights
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 moreSource§impl Debug for PcActorWeights
impl Debug for PcActorWeights
Source§impl<'de> Deserialize<'de> for PcActorWeights
impl<'de> Deserialize<'de> for PcActorWeights
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
Auto Trait Implementations§
impl Freeze for PcActorWeights
impl RefUnwindSafe for PcActorWeights
impl Send for PcActorWeights
impl Sync for PcActorWeights
impl Unpin for PcActorWeights
impl UnsafeUnpin for PcActorWeights
impl UnwindSafe for PcActorWeights
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