pub struct VisionProjectionInputs {
pub patches: HirNodeId,
pub embed_w: HirNodeId,
pub pos_embed: HirNodeId,
pub norm_w: HirNodeId,
pub ones: HirNodeId,
pub zero_beta: HirNodeId,
pub soft_token_w: HirNodeId,
pub lm_proj_w: HirNodeId,
}Expand description
Explicit-bind input handles for build_vision_projection_hir.
The caller is responsible for declaring each node — typically as
graph inputs (for a standalone projector graph) or as params
loaded from vision_tower.* weights.
Fields§
§patches: HirNodeId§embed_w: HirNodeId§pos_embed: HirNodeId§norm_w: HirNodeId§ones: HirNodeId§zero_beta: HirNodeId§soft_token_w: HirNodeId§lm_proj_w: HirNodeIdTrait Implementations§
Source§impl Clone for VisionProjectionInputs
impl Clone for VisionProjectionInputs
Source§fn clone(&self) -> VisionProjectionInputs
fn clone(&self) -> VisionProjectionInputs
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 moreimpl Copy for VisionProjectionInputs
Auto Trait Implementations§
impl Freeze for VisionProjectionInputs
impl RefUnwindSafe for VisionProjectionInputs
impl Send for VisionProjectionInputs
impl Sync for VisionProjectionInputs
impl Unpin for VisionProjectionInputs
impl UnsafeUnpin for VisionProjectionInputs
impl UnwindSafe for VisionProjectionInputs
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