Home
last modified time | relevance | path

Searched refs:GetSeed (Results 1 – 25 of 44) sorted by relevance

12

/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/datasetops/source/sampler/
Dsubset_random_sampler.cc39 rand_gen_.seed(GetSeed()); in InitSampler()
51 rand_gen_.seed(GetSeed()); in ResetSampler()
Dweighted_random_sampler.cc66 rand_gen_.seed(GetSeed()); in InitSampler()
100 rand_gen_.seed(GetSeed()); in ResetSampler()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/python/bindings/mindrecord/include/
Dbindings.cc55 GetSeed(), num_samples); in __anone6b51b890402()
84 …return std::make_shared<mindrecord::ShardShuffle>(GetSeed(), num_samples, replacement, reshuffle_e… in __anone6b51b890902()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/image/
Drandom_vertical_flip_with_bbox_op.h36 rnd_.seed(GetSeed()); in distribution_()
Drandom_vertical_flip_op.h36 rnd_.seed(GetSeed()); in distribution_()
Drandom_solarize_op.h36 rnd_.seed(GetSeed());
Drandom_sharpness_op.cc32 rnd_.seed(GetSeed()); in RandomSharpnessOp()
Drandom_posterize_op.cc30 rnd_.seed(GetSeed()); in RandomPosterizeOp()
Drandom_horizontal_flip_with_bbox_op.h37 rnd_.seed(GetSeed()); in distribution_()
Drandom_resize_with_bbox_op.h38 random_generator_.seed(GetSeed()); in ResizeWithBBoxOp()
Drandom_horizontal_flip_op.h37 rnd_.seed(GetSeed()); in distribution_()
Drandom_resize_op.h37 random_generator_.seed(GetSeed()); in ResizeOp()
Dcut_out_op.cc35 : rnd_(GetSeed()), in CutOutOp()
Duniform_aug_op.cc25 rnd_.seed(GetSeed()); in UniformAugOp()
Drandom_color_op.cc23 RandomColorOp::RandomColorOp(float t_lb, float t_ub) : rnd_(GetSeed()), dist_(t_lb, t_ub), t_lb_(t_… in RandomColorOp()
Drandom_color_adjust_op.cc37 rnd_.seed(GetSeed()); in RandomColorAdjustOp()
Drandom_rotation_op.cc45 rnd_.seed(GetSeed()); in RandomRotationOp()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/audio/kernels/
Dtime_masking_op.cc28 rnd_.seed(GetSeed()); in TimeMaskingOp()
Dfrequency_masking_op.cc32 rnd_.seed(GetSeed()); in FrequencyMaskingOp()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/util/
Drandom.h66 inline uint32_t GetSeed() { in GetSeed() function
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/data/
Drandom_apply_op.cc60 : prob_(prob), gen_(GetSeed()), rand_double_(0, 1) { in RandomApplyOp()
Drandom_choice_op.cc86 : ops_(ops), gen_(GetSeed()), rand_int_(0, ops.size() - 1) { in RandomChoiceOp()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/ir/datasetops/source/samplers/
Dsubset_random_sampler_ir.cc51 auto mind_sampler = std::make_shared<mindrecord::ShardSample>(indices_, GetSeed()); in BuildForMindDataset()
Drandom_sampler_ir.cc85 …std::make_shared<mindrecord::ShardShuffle>(GetSeed(), num_samples_, replacement_, reshuffle_each_e… in BuildForMindDataset()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/ir/datasetops/
Dshuffle_node.cc31 : shuffle_size_(shuffle_size), shuffle_seed_(GetSeed()), reset_every_epoch_(reset_every_epoch) { in ShuffleNode()

12