svod-tensor 0.1.0-alpha.3

High-level lazy tensor API for the Svod ML compiler
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use parking_lot::Mutex;

/// Shared lock serializing every test that touches global RNG state
/// (`manual_seed`, `Tensor::rand`). All `rand` test modules grab this before
/// calling into the rand module. Separate per-file statics would not serialize
/// across files, causing parallel races on `GLOBAL_SEED` / `SEED_EPOCH`.
pub(super) static RAND_TEST_LOCK: Mutex<()> = Mutex::new(());

pub mod distributions;
pub mod dtype;
pub mod like;
pub mod reference;
pub mod smoke;