Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ml-explore/mlx
/ reset
Method
reset
python/src/random.cpp:28–30 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
26
}
27
28
void reset() {
29
state_.reset();
30
}
31
32
void seed(uint64_t seed) {
33
state()[0] = mx::random::key(seed);
Callers
3
~PyKeySequence
Method · 0.45
init_random
Function · 0.45
from_cpp
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected