pub struct VideoParameters {
pub frame_size: u32,
pub num_frames: u32,
pub fps: u32,
pub embedding_dim: u32,
}Expand description
Video model parameters.
Captures the spatio-temporal input contract for a video encoder: per-frame spatial size, the number of frames consumed per inference, the target frames-per-second the model was trained on (used for stride during preprocessing), and the output embedding dimensionality. Wave 1 ships the type but the catalog is empty until a permissive
- ONNX-shippable encoder lands.
Fields§
§frame_size: u32Square frame edge in pixels.
num_frames: u32Number of frames consumed per inference (e.g., 16 for VideoMAE).
fps: u32Target FPS the model was trained on. Drives temporal stride during frame extraction.
embedding_dim: u32Output embedding dimensionality.
Trait Implementations§
Source§impl Clone for VideoParameters
impl Clone for VideoParameters
Source§fn clone(&self) -> VideoParameters
fn clone(&self) -> VideoParameters
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 VideoParameters
impl Debug for VideoParameters
Source§impl<'de> Deserialize<'de> for VideoParameters
impl<'de> Deserialize<'de> for VideoParameters
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for VideoParameters
Source§impl PartialEq for VideoParameters
impl PartialEq for VideoParameters
Source§fn eq(&self, other: &VideoParameters) -> bool
fn eq(&self, other: &VideoParameters) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for VideoParameters
impl Serialize for VideoParameters
impl StructuralPartialEq for VideoParameters
Auto Trait Implementations§
impl Freeze for VideoParameters
impl RefUnwindSafe for VideoParameters
impl Send for VideoParameters
impl Sync for VideoParameters
impl Unpin for VideoParameters
impl UnsafeUnpin for VideoParameters
impl UnwindSafe for VideoParameters
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