numr 1.0.0

Numerical computing and tensor library for Rust, in the role of NumPy: n-dimensional arrays, linear algebra, FFT, statistics and autograd on CPU, CUDA and WebGPU
Documentation
1
2
3
4
5
6
//! f16/bf16 wrappers for clamp operation (block-convert-compute via f32)

#[cfg(feature = "f16")]
use super::dispatch::clamp_f32;

half_clamp!(clamp, clamp_f32);