VisionConfig

Type Alias VisionConfig 

Source
pub type VisionConfig = VisionConfig;

Aliased Type§

pub struct VisionConfig {
    pub hidden_size: usize,
    pub intermediate_size: usize,
    pub projection_dim: usize,
    pub num_hidden_layers: usize,
    pub num_attention_heads: usize,
    pub image_size: usize,
    pub patch_size: usize,
    pub hidden_act: Activation,
    pub layer_norm_eps: f64,
}

Fields§

§hidden_size: usize§intermediate_size: usize§projection_dim: usize§num_hidden_layers: usize§num_attention_heads: usize§image_size: usize§patch_size: usize§hidden_act: Activation§layer_norm_eps: f64