rten-vecmath

Crates.iorten-vecmath
lib.rsrten-vecmath
version0.22.1
created_at2023-12-31 20:31:33.275054+00
updated_at2025-09-18 18:21:14.994294+00
descriptionSIMD vectorized implementations of various math functions used in ML models
homepagehttps://github.com/robertknight/rten
repositoryhttps://github.com/robertknight/rten
max_upload_size
id1084991
size81,430
Robert Knight (robertknight)

documentation

README

rten-vecmath

This crate contains SIMD-vectorized kernels ("vectorized math") for various operations used in machine learning models. This includes:

  • Math functions such as exp, erf, tanh
  • Activation function such as gelu
  • Normalization functions such as softmax and mean-variance normalization
  • Reduction functions such as sums and sum-of-square

SIMD operations are implemented using portable SIMD types from the rten-simd crate.

Commit count: 3725

cargo fmt