Docs.rs
forgellm-runtime-0.7.4
forgellm-runtime 0.7.4
Docs.rs crate page
MIT
Links
Homepage
Repository
crates.io
Source
Owners
sauravpanda
Dependencies
forgellm-frontend ^0.7.4
normal
thiserror ^2
normal
tokenizers ^0.21
normal
tracing ^0.1
normal
pretty_assertions ^1
dev
Versions
87.32%
of the crate is documented
Go to latest version
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
silu
forgellm_
runtime
0.7.4
In forgellm_
runtime::
kernels
forgellm_runtime
::
kernels
Function
silu
Copy item path
Source
pub fn silu(output: &mut [
f32
], input: &[
f32
])
Expand description
Optimized SiLU: x * sigmoid(x) = x / (1 + exp(-x))