MCPcopy 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

~PyKeySequenceMethod · 0.45
init_randomFunction · 0.45
from_cppMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected