Crates.io | rten-vecmath |
lib.rs | rten-vecmath |
version | 0.14.0 |
source | src |
created_at | 2023-12-31 20:31:33.275054 |
updated_at | 2024-10-27 17:51:07.42691 |
description | SIMD vectorized implementations of various math functions used in ML models |
homepage | https://github.com/robertknight/rten |
repository | https://github.com/robertknight/rten |
max_upload_size | |
id | 1084991 |
size | 39,764 |
This crate provides portable SIMD types that abstract over SIMD intrinsics on
different architectures. Unlike
std::simd
this works on
stable Rust. There is also functionality to detect the available instructions
at runtime and dispatch to the optimal implementation.
This crate also contains SIMD-vectorized versions of math functions such as exp, erf, tanh, softmax etc. that are performance-critical in machine-learning models.