pub struct Sam3TrackerConfig {
pub image_size: usize,
pub backbone_stride: usize,
pub num_maskmem: usize,
pub max_cond_frames_in_attn: usize,
pub memory_dim: usize,
pub transformer_dim: usize,
pub transformer_layers: usize,
pub feat_hw: usize,
}Fields§
§image_size: usize§backbone_stride: usize§num_maskmem: usize§max_cond_frames_in_attn: usize§memory_dim: usize§transformer_dim: usize§transformer_layers: usize§feat_hw: usizeTrait Implementations§
Source§impl Clone for Sam3TrackerConfig
impl Clone for Sam3TrackerConfig
Source§fn clone(&self) -> Sam3TrackerConfig
fn clone(&self) -> Sam3TrackerConfig
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 Sam3TrackerConfig
impl Debug for Sam3TrackerConfig
Source§impl Default for Sam3TrackerConfig
impl Default for Sam3TrackerConfig
Source§fn default() -> Sam3TrackerConfig
fn default() -> Sam3TrackerConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Sam3TrackerConfig
impl<'de> Deserialize<'de> for Sam3TrackerConfig
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Sam3TrackerConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Sam3TrackerConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Sam3TrackerConfig
impl RefUnwindSafe for Sam3TrackerConfig
impl Send for Sam3TrackerConfig
impl Sync for Sam3TrackerConfig
impl Unpin for Sam3TrackerConfig
impl UnsafeUnpin for Sam3TrackerConfig
impl UnwindSafe for Sam3TrackerConfig
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
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