pub struct Sam3DecoderLayerWeights {Show 32 fields
pub self_attn_in_w_t: Vec<f32>,
pub self_attn_in_b: Vec<f32>,
pub self_attn_in_gguf_key: Option<String>,
pub self_attn_out_w_t: Vec<f32>,
pub self_attn_out_b: Vec<f32>,
pub self_attn_out_gguf_key: Option<String>,
pub ca_text_in_w_t: Vec<f32>,
pub ca_text_in_b: Vec<f32>,
pub ca_text_in_gguf_key: Option<String>,
pub ca_text_out_w_t: Vec<f32>,
pub ca_text_out_b: Vec<f32>,
pub ca_text_out_gguf_key: Option<String>,
pub cross_attn_in_w_t: Vec<f32>,
pub cross_attn_in_b: Vec<f32>,
pub cross_attn_in_gguf_key: Option<String>,
pub cross_attn_out_w_t: Vec<f32>,
pub cross_attn_out_b: Vec<f32>,
pub cross_attn_out_gguf_key: Option<String>,
pub linear1_w_t: Vec<f32>,
pub linear1_b: Vec<f32>,
pub linear1_gguf_key: Option<String>,
pub linear2_w_t: Vec<f32>,
pub linear2_b: Vec<f32>,
pub linear2_gguf_key: Option<String>,
pub norm1_w: Vec<f32>,
pub norm1_b: Vec<f32>,
pub norm2_w: Vec<f32>,
pub norm2_b: Vec<f32>,
pub norm3_w: Vec<f32>,
pub norm3_b: Vec<f32>,
pub catext_norm_w: Vec<f32>,
pub catext_norm_b: Vec<f32>,
}Fields§
§self_attn_in_w_t: Vec<f32>§self_attn_in_b: Vec<f32>§self_attn_in_gguf_key: Option<String>§self_attn_out_w_t: Vec<f32>§self_attn_out_b: Vec<f32>§self_attn_out_gguf_key: Option<String>§ca_text_in_w_t: Vec<f32>§ca_text_in_b: Vec<f32>§ca_text_in_gguf_key: Option<String>§ca_text_out_w_t: Vec<f32>§ca_text_out_b: Vec<f32>§ca_text_out_gguf_key: Option<String>§cross_attn_in_w_t: Vec<f32>§cross_attn_in_b: Vec<f32>§cross_attn_in_gguf_key: Option<String>§cross_attn_out_w_t: Vec<f32>§cross_attn_out_b: Vec<f32>§cross_attn_out_gguf_key: Option<String>§linear1_w_t: Vec<f32>§linear1_b: Vec<f32>§linear1_gguf_key: Option<String>§linear2_w_t: Vec<f32>§linear2_b: Vec<f32>§linear2_gguf_key: Option<String>§norm1_w: Vec<f32>§norm1_b: Vec<f32>§norm2_w: Vec<f32>§norm2_b: Vec<f32>§norm3_w: Vec<f32>§norm3_b: Vec<f32>§catext_norm_w: Vec<f32>§catext_norm_b: Vec<f32>Trait Implementations§
Source§impl Clone for Sam3DecoderLayerWeights
impl Clone for Sam3DecoderLayerWeights
Source§fn clone(&self) -> Sam3DecoderLayerWeights
fn clone(&self) -> Sam3DecoderLayerWeights
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for Sam3DecoderLayerWeights
impl RefUnwindSafe for Sam3DecoderLayerWeights
impl Send for Sam3DecoderLayerWeights
impl Sync for Sam3DecoderLayerWeights
impl Unpin for Sam3DecoderLayerWeights
impl UnsafeUnpin for Sam3DecoderLayerWeights
impl UnwindSafe for Sam3DecoderLayerWeights
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more