Skip to content

armgit / uzu

Public Imported from GitHub
0

A high-performance inference engine for AI models

254 B
Raw Blame
use uzu_engine_macros::uzu_config;

#[uzu_config(super::Activation)]
pub struct SiLU {
    pub alpha: f32,
}

impl Default for SiLU {
    fn default() -> Self {
        Self {
            ty: Default::default(),
            alpha: 1.0,
        }
    }
}