Home
last modified time | relevance | path

Searched refs:seed_bytes (Results 1 – 7 of 7) sorted by relevance

/external/tensorflow/tensorflow/stream_executor/
Drng.cc23 bool RngSupport::CheckSeed(const uint8 *seed, uint64 seed_bytes) { in CheckSeed() argument
26 if (seed_bytes < kMinSeedBytes) { in CheckSeed()
27 LOG(INFO) << "Insufficient RNG seed data specified: " << seed_bytes in CheckSeed()
33 if (seed_bytes > kMaxSeedBytes) { in CheckSeed()
34 LOG(INFO) << "Too much RNG seed data specified: " << seed_bytes in CheckSeed()
Drng.h84 uint64 seed_bytes) = 0;
87 static bool CheckSeed(const uint8 *seed, uint64 seed_bytes);
Dstream.cc4399 Stream &Stream::ThenSetRngSeed(const uint8 *seed, uint64 seed_bytes) { in ThenSetRngSeed() argument
4400 VLOG_CALL(PARAM(seed), PARAM(seed_bytes)); in ThenSetRngSeed()
4403 CheckError(rng->SetSeed(this, seed, seed_bytes)); in ThenSetRngSeed()
Dstream.h1702 Stream &ThenSetRngSeed(const uint8 *seed, uint64 seed_bytes);
/external/tensorflow/tensorflow/stream_executor/cuda/
Dcuda_rng.cc199 bool GpuRng::SetSeed(Stream* stream, const uint8* seed, uint64 seed_bytes) { in SetSeed() argument
203 if (!CheckSeed(seed, seed_bytes)) { in SetSeed()
/external/tensorflow/tensorflow/stream_executor/rocm/
Drocm_rng.cc253 bool GpuRng::SetSeed(Stream* stream, const uint8* seed, uint64 seed_bytes) { in SetSeed() argument
257 if (!CheckSeed(seed, seed_bytes)) { in SetSeed()
/external/tensorflow/tensorflow/stream_executor/gpu/
Dgpu_rng.h67 bool SetSeed(Stream* stream, const uint8* seed, uint64 seed_bytes) override;