/external/tensorflow/tensorflow/core/kernels/data/ |
D | shuffle_dataset_op.cc | 75 seed_(seed), in Iterator() 190 parent_generator_ = random::PhiloxRandom(seed_, seed2_); in ResetRngs() 201 TF_RETURN_IF_ERROR(writer->WriteScalar(this->full_name("seed"), seed_)); in SaveInternal() 250 TF_RETURN_IF_ERROR(reader->ReadScalar(this->full_name("seed"), &seed_)); in RestoreInternal() 305 int64 seed_ GUARDED_BY(mu_); 393 seed_(seed), in ReshufflingDataset() 397 return strings::StrCat("ShuffleDatasetOp(", buffer_size_, ", ", seed_, in DebugString() 404 Iterator::Params{this, strings::StrCat(prefix, "::Shuffle")}, seed_, in MakeIteratorInternal() 412 : seed_(seed), in RandomSeedGenerator() 442 parent_generator_ = random::PhiloxRandom(seed_, seed2_); in Reset() [all …]
|
/external/epid-sdk/epid/common-testhelper/ |
D | prng-testhelper.h | 49 Prng() : seed_(1) { set_seed(seed_); } in Prng() 52 unsigned int get_seed() const { return seed_; } in get_seed() 55 seed_ = val; in set_seed() 56 generator_.seed(seed_); in set_seed() 85 unsigned int seed_;
|
/external/tensorflow/tensorflow/core/kernels/data/experimental/ |
D | random_dataset_op.cc | 55 : DatasetBase(DatasetContext(ctx)), seed_(seed), seed2_(seed2) {} in Dataset() 75 return strings::StrCat("RandomDatasetOp(", seed_, ", ", seed2_, in DebugString() 87 TF_RETURN_IF_ERROR(b->AddScalar(seed_, &seed)); in AsGraphDefInternal() 98 parent_generator_(dataset()->seed_, dataset()->seed2_), in Iterator() 131 random::PhiloxRandom(dataset()->seed_, dataset()->seed2_); in RestoreInternal() 152 const int64 seed_; member in tensorflow::data::__anonc28f42b70111::RandomDatasetOp::Dataset
|
/external/webrtc/webrtc/modules/audio_coding/neteq/ |
D | random_vector.cc | 41 seed_ = 777; in Reset() 47 seed_ += seed_increment_; in Generate() 48 size_t position = seed_ & (kRandomTableSize - 1); in Generate()
|
D | random_vector.h | 28 : seed_(777), in RandomVector() 43 uint32_t seed_;
|
/external/perfetto/src/tracing/core/ |
D | test_config.cc | 46 (seed_ == other.seed_) && (message_size_ == other.message_size_) && in operator ==() 63 static_assert(sizeof(seed_) == sizeof(proto.seed()), "size mismatch"); in FromProto() 64 seed_ = static_cast<decltype(seed_)>(proto.seed()); in FromProto() 95 static_assert(sizeof(seed_) == sizeof(proto->seed()), "size mismatch"); in ToProto() 96 proto->set_seed(static_cast<decltype(proto->seed())>(seed_)); in ToProto()
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | hlo_module_config.h | 77 void set_seed(uint64 seed) { seed_ = seed; } in set_seed() 78 uint64 seed() const { return seed_; } in seed() 125 uint64 seed_ = 0; variable
|
D | hlo_evaluator.h | 337 uint64 seed_ = 0; variable
|
D | hlo_evaluator.cc | 265 seed_ = computation.parent()->config().seed(); in Evaluate() 269 seed_ = global_seed.fetch_add(1); in Evaluate() 271 engine_.seed(seed_); in Evaluate()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | fractional_avg_pool_op.cc | 51 OP_REQUIRES_OK(context, context->GetAttr("seed", &seed_)); in FractionalAvgPoolOp() 55 if ((seed_ == 0) && (seed2_ == 0)) { in FractionalAvgPoolOp() 56 seed_ = random::New64(); in FractionalAvgPoolOp() 61 context, (seed_ == 0) && (seed2_ == 0), in FractionalAvgPoolOp() 95 generator.Init(seed_, seed2_); in Compute() 185 int64 seed_; member in tensorflow::FractionalAvgPoolOp
|
D | fractional_max_pool_op.cc | 54 OP_REQUIRES_OK(context, context->GetAttr("seed", &seed_)); in FractionalMaxPoolOp() 58 if ((seed_ == 0) && (seed2_ == 0)) { in FractionalMaxPoolOp() 59 seed_ = random::New64(); in FractionalMaxPoolOp() 64 context, (seed_ == 0) && (seed2_ == 0), in FractionalMaxPoolOp() 100 generator.Init(seed_, seed2_); in Compute() 186 int64 seed_; member in tensorflow::FractionalMaxPoolOp
|
D | random_shuffle_queue_op.cc | 488 OP_REQUIRES_OK(context, context->GetAttr("seed", &seed_)); in RandomShuffleQueueOp() 498 capacity_, min_after_dequeue_, seed_, seed2_, component_types_, in CreateResource() 504 int64 seed_; member in tensorflow::RandomShuffleQueueOp
|
D | cudnn_rnn_ops.cc | 906 OP_REQUIRES_OK(context, context->GetAttr("seed", &seed_)); in CudnnRNNKernelCommon() 931 uint64 seed() { return (static_cast<uint64>(seed_) << 32) | seed2_; } in seed() 1023 int seed_; member in tensorflow::CudnnRNNKernelCommon
|
/external/webrtc/webrtc/base/ |
D | helpers.cc | 148 TestRandomGenerator() : seed_(7) { in TestRandomGenerator() 162 return ((seed_ = seed_ * 214013L + 2531011L) >> 16) & 0x7fff; in GetRandom() 164 int seed_; member in rtc::TestRandomGenerator
|
/external/libvpx/libvpx/test/ |
D | video_source.h | 209 : rnd_(seed), seed_(seed) {} in rnd_() 215 rnd_.Reset(seed_); in Begin() 232 int seed_; variable
|
/external/libaom/libaom/test/ |
D | video_source.h | 211 : rnd_(seed), seed_(seed) {} in rnd_() 217 rnd_.Reset(seed_); in Begin() 233 int seed_; variable
|
/external/perfetto/include/perfetto/tracing/core/ |
D | test_config.h | 154 uint32_t seed() const { return seed_; } in seed() 155 void set_seed(uint32_t value) { seed_ = value; } in set_seed() 171 uint32_t seed_ = {}; variable
|
/external/webrtc/webrtc/modules/audio_processing/transient/ |
D | transient_suppressor.cc | 62 seed_(182), in TransientSuppressor() 160 seed_ = 182; in Initialize() 377 const float phase = 2 * ts::kPi * WebRtcSpl_RandU(&seed_) / in HardRestoration()
|
D | transient_suppressor.h | 113 uint32_t seed_; variable
|
/external/vixl/src/aarch64/ |
D | simulator-aarch64.h | 559 SimExclusiveLocalMonitor() : kSkipClearProbability(8), seed_(0x87654321) { in SimExclusiveLocalMonitor() 571 if ((seed_ % kSkipClearProbability) != 0) { in MaybeClear() 576 seed_ = (seed_ * 48271) % 2147483647; in MaybeClear() 598 uint32_t seed_; variable 607 SimExclusiveGlobalMonitor() : kPassProbability(8), seed_(0x87654321) {} in SimExclusiveGlobalMonitor() 612 bool pass = (seed_ % kPassProbability) != 0; in IsExclusive() 614 seed_ = (seed_ * 48271) % 2147483647; in IsExclusive() 620 uint32_t seed_; variable
|
/external/tensorflow/tensorflow/compiler/xla/tests/ |
D | reduce_test.cc | 102 input_data[i] = rand_r(&seed_) % 3; in RunR1ToR0Test() 103 if (rand_r(&seed_) % 2 == 0) { in RunR1ToR0Test() 354 uint32 seed_ = 0xdeadbeef; member in xla::__anon10c8b2690111::ReduceTest
|
/external/protobuf/src/google/protobuf/ |
D | map.h | 717 seed_(Seed()), in InnerMap() 1269 return (h * (seed_ | 1)) & (num_buckets_ - 1); in BucketNumber() 1271 return (h + seed_) & (num_buckets_ - 1); in BucketNumber() 1341 size_type seed_; variable
|
/external/libvpx/libvpx/third_party/libwebm/mkvmuxer/ |
D | mkvmuxer.cc | 3096 seed_ = static_cast<unsigned int>(curr_time); in Segment() 3098 srand(seed_); in Segment() 3367 Track* const track = new (std::nothrow) Track(&seed_); // NOLINT in AddTrack() 3380 Chapter* Segment::AddChapter() { return chapters_.AddChapter(&seed_); } in AddChapter() 3385 VideoTrack* const track = new (std::nothrow) VideoTrack(&seed_); // NOLINT in AddVideoTrack() 3430 AudioTrack* const track = new (std::nothrow) AudioTrack(&seed_); // NOLINT in AddAudioTrack()
|
D | mkvmuxer.h | 1777 unsigned int seed_; variable
|
/external/libaom/libaom/third_party/libwebm/mkvmuxer/ |
D | mkvmuxer.cc | 3096 seed_ = static_cast<unsigned int>(curr_time); in Segment() 3098 srand(seed_); in Segment() 3367 Track* const track = new (std::nothrow) Track(&seed_); // NOLINT in AddTrack() 3380 Chapter* Segment::AddChapter() { return chapters_.AddChapter(&seed_); } in AddChapter() 3385 VideoTrack* const track = new (std::nothrow) VideoTrack(&seed_); // NOLINT in AddVideoTrack() 3430 AudioTrack* const track = new (std::nothrow) AudioTrack(&seed_); // NOLINT in AddAudioTrack()
|