MCPcopy Create free account
hub / github.com/PaddlePaddle/Paddle / GetCPUEngine

Method GetCPUEngine

paddle/phi/core/generator.cc:267–269  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

265}
266
267std::shared_ptr<std::mt19937_64> Generator::GetCPUEngine() {
268 return cpu_engine();
269}
270
271uint64_t Generator::Random64() {
272 std::lock_guard<std::mutex> lock(mu_);

Callers 15

GetCPURandomEngineFunction · 0.80
RandpermKernelFunction · 0.80
RandintKernelFunction · 0.80
TopPSamplingKernelFunction · 0.80
UniformRawKernelFunction · 0.80
RandintWithSeedKernelFunction · 0.80
UniformRawKernelFunction · 0.80
RandintWithSeedKernelFunction · 0.80
MultinomialFunctorFunction · 0.80
btrsFunction · 0.80
binomial_inversionFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected