Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
267
std::shared_ptr<std::mt19937_64> Generator::GetCPUEngine() {
268
return cpu_engine();
269
}
270
271
uint64_t Generator::Random64() {
272
std::lock_guard<std::mutex> lock(mu_);
Callers
15
GetCPURandomEngine
Function · 0.80
RandpermKernel
Function · 0.80
RandintKernel
Function · 0.80
TopPSamplingKernel
Function · 0.80
TruncatedGaussianRandomKernel
Function · 0.80
UniformRawKernel
Function · 0.80
RandintWithSeedKernel
Function · 0.80
UniformRawKernel
Function · 0.80
RandintWithSeedKernel
Function · 0.80
MultinomialFunctor
Function · 0.80
btrs
Function · 0.80
binomial_inversion
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected