neurox 0.2.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
1
2
3
4
5
6
7
use rand::{SeedableRng, rngs::StdRng};

/// Set global seed for reproducibility (affects rand::thread_rng only if used indirectly).
pub fn set_seed(seed: u64) {
    let _rng = StdRng::seed_from_u64(seed);
    println!("Seed set to {}", seed);
}