D | random_dataset_op.cc | 46 : DatasetBase(DatasetContext(ctx)), seeds_(seed, seed2) {} in Dataset() 76 return strings::StrCat("RandomDatasetOp(", seeds_.first, ", ", in DebugString() 77 seeds_.second, ")::Dataset"); in DebugString() 94 TF_RETURN_IF_ERROR(b->AddScalar(seeds_.first, &seed)); in AsGraphDefInternal() 95 TF_RETURN_IF_ERROR(b->AddScalar(seeds_.second, &seed2)); in AsGraphDefInternal() 105 seeds_(MaybeOverrideSeeds(dataset()->seeds_)), in Iterator() 106 parent_generator_(seeds_.first, seeds_.second), in Iterator() 139 parent_generator_ = random::PhiloxRandom(seeds_.first, seeds_.second); in RestoreInternal() 153 const std::pair<int64_t, int64_t> seeds_; member in tensorflow::data::experimental::RandomDatasetOp::Dataset::Iterator 161 const std::pair<int64_t, int64_t> seeds_; member in tensorflow::data::experimental::RandomDatasetOp::Dataset
|