pub struct EncoderLayerWeightNames {Show 13 fields
pub attention_norm: String,
pub wq_weight: String,
pub wq_bias: String,
pub wk_weight: String,
pub wv_weight: String,
pub wv_bias: String,
pub wo_weight: String,
pub wo_bias: String,
pub ffn_norm: String,
pub w1_weight: String,
pub w2_weight: String,
pub w2_bias: String,
pub w3_weight: String,
}Expand description
Weight names for an encoder layer.
Fields§
§attention_norm: String§wq_weight: String§wq_bias: String§wk_weight: String§wv_weight: String§wv_bias: String§wo_weight: String§wo_bias: String§ffn_norm: String§w1_weight: String§w2_weight: String§w2_bias: String§w3_weight: StringAuto Trait Implementations§
impl Freeze for EncoderLayerWeightNames
impl RefUnwindSafe for EncoderLayerWeightNames
impl Send for EncoderLayerWeightNames
impl Sync for EncoderLayerWeightNames
impl Unpin for EncoderLayerWeightNames
impl UnsafeUnpin for EncoderLayerWeightNames
impl UnwindSafe for EncoderLayerWeightNames
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