pub struct Sam3DecoderOutput {
pub intermediate: Vec<f32>,
pub intermediate_ref_boxes: Vec<f32>,
pub presence_logits: Vec<f32>,
pub presence_feats: Vec<f32>,
pub num_layers: usize,
pub num_queries: usize,
pub batch: usize,
pub d_model: usize,
}Fields§
§intermediate: Vec<f32>[num_layers, num_queries, batch, d_model] post-norm.
intermediate_ref_boxes: Vec<f32>[num_layers, num_queries, batch, 4] refined reference boxes
(sigmoid scale). The first entry is the initial boxes; the last
is layer 5’s output (per upstream convention).
presence_logits: Vec<f32>[num_layers, batch, 1] per-layer presence logits.
presence_feats: Vec<f32>[1, batch, d_model] final presence features.
num_layers: usize§num_queries: usize§batch: usize§d_model: usizeTrait Implementations§
Source§impl Clone for Sam3DecoderOutput
impl Clone for Sam3DecoderOutput
Source§fn clone(&self) -> Sam3DecoderOutput
fn clone(&self) -> Sam3DecoderOutput
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 moreSource§impl Debug for Sam3DecoderOutput
impl Debug for Sam3DecoderOutput
Source§impl Default for Sam3DecoderOutput
impl Default for Sam3DecoderOutput
Source§fn default() -> Sam3DecoderOutput
fn default() -> Sam3DecoderOutput
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for Sam3DecoderOutput
impl RefUnwindSafe for Sam3DecoderOutput
impl Send for Sam3DecoderOutput
impl Sync for Sam3DecoderOutput
impl Unpin for Sam3DecoderOutput
impl UnsafeUnpin for Sam3DecoderOutput
impl UnwindSafe for Sam3DecoderOutput
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