numr 0.15.0

High-performance numerical computing with multi-backend GPU acceleration (CPU/CUDA/WebGPU)
Documentation
1
2
3
4
5
6
7
8
9
10
11
//! Shared discriminant for the fused activation-mul variants.

/// Which fused activation-mul variant
#[derive(Clone, Copy)]
pub(super) enum FusedKind {
    Silu,
    Gelu,
    GeluErf,
    Relu,
    Sigmoid,
}