neurox 0.1.0

A Rust crate providing core building blocks for numerical computing and machine learning, including tensor operations, model abstractions, and future GPU acceleration support.
Documentation
neurox-0.1.0 has been yanked.

Neurox

crates.io docs.rs License Rust


Overview

Neurox is a minimalist and extendable numerical computation library written in Rust.
It provides core tensor operations, fundamental mathematical building blocks, and abstractions to build and experiment with machine learning models including but not limited to neural networks.
All operations currently run on CPU, with plans for GPU acceleration support in future versions.

This crate is ideal for:

  • Learning and experimenting with numerical computation primitives
  • Developing small-scale ML models from scratch in Rust
  • Serving as a foundation for more advanced GPU-accelerated ML frameworks

Features (v0.1.0)

  • Multi-dimensional Tensor struct for efficient numerical data storage
  • Core operations: matrix multiplication, element-wise activations (e.g., ReLU)
  • Flexible Model struct supporting layered architectures with bias
  • Forward pass computation suitable for inference and prototyping
  • Random weight initialization utilities
  • Device abstraction designed to enable future GPU support

Planned Features

  • Training loops with backpropagation and optimizers (SGD, Adam)
  • Expanded activation functions (sigmoid, tanh, etc.)
  • GPU acceleration using CUDA, OpenCL, or WGPU
  • Additional layer types (Convolutional, Recurrent, etc.)
  • Serialization and model persistence utilities
  • Dataset handling and data loading features

Installation

Add this to your Cargo.toml:

[dependencies]
neurox = "0.1.0"