MCPcopy Create free account
hub / github.com/MegEngine/MegCC / reset

Method reset

compiler/test/kernel/common/src/rng.cpp:223–225  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

221 write_helper(tensor, gen_func);
222}
223void megcc::test::SequenceRNG::reset() {
224 m_count = 0;
225}
226
227InvertibleMatrixRNG::InvertibleMatrixRNG()
228 : m_rng{new RNGxorshf{RandomState::generator()}} {}

Callers 1

init_tensorMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected