Home
last modified time | relevance | path

Searched defs:num_samples (Results 1 – 25 of 175) sorted by relevance

1234567

/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/
Dsamplers.cc32 …ampler::DistributedSampler(int64_t num_shards, int64_t shard_id, bool shuffle, int64_t num_samples, in DistributedSampler()
48 PKSampler::PKSampler(int64_t num_val, bool shuffle, int64_t num_samples) in PKSampler()
56 RandomSampler::RandomSampler(bool replacement, int64_t num_samples) in RandomSampler()
64 SequentialSampler::SequentialSampler(int64_t start_index, int64_t num_samples) in SequentialSampler()
72 SubsetSampler::SubsetSampler(std::vector<int64_t> indices, int64_t num_samples) in SubsetSampler()
80 SubsetRandomSampler::SubsetRandomSampler(std::vector<int64_t> indices, int64_t num_samples) in SubsetRandomSampler()
88 WeightedRandomSampler::WeightedRandomSampler(std::vector<double> weights, int64_t num_samples, bool… in WeightedRandomSampler()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/python/bindings/dataset/engine/ir/datasetops/source/samplers/
Dbindings.cc59 .def(py::init([](int64_t num_samples, py::object sampler) { in __anonc9e25c810502()
70 .def(py::init([](int64_t num_val, bool shuffle, int64_t num_samples) { in __anonc9e25c810702()
81 … .def(py::init([](bool replacement, int64_t num_samples, bool reshuffle_each_epoch) { in __anonc9e25c810902()
92 .def(py::init([](int64_t start_index, int64_t num_samples) { in __anonc9e25c810b02()
103 .def(py::init([](std::vector<int64_t> indices, int64_t num_samples) { in __anonc9e25c810d02()
114 .def(py::init([](std::vector<int64_t> indices, int64_t num_samples) { in __anonc9e25c810f02()
125 … .def(py::init([](std::vector<double> weights, int64_t num_samples, bool replacement) { in __anonc9e25c811102()
/third_party/mindspore/tests/ut/python/dataset/
Dtest_datasets_sharding.py22 def sharding_config(num_shards, shard_id, num_samples, shuffle, class_index, repeat_cnt=1): argument
57 def sharding_config(num_shards, shard_id, num_samples, repeat_cnt=1): argument
95 def sharding_config(num_shards, shard_id, num_samples, repeat_cnt=1): argument
139 def sharding_config(num_shards, shard_id, num_samples, shuffle, repeat_cnt=1): argument
164 def sharding_config(num_shards, shard_id, num_samples, shuffle, repeat_cnt=1): argument
192 def sharding_config(num_shards, shard_id, num_samples, shuffle, repeat_cnt=1): argument
212 def sharding_config(num_shards, shard_id, num_samples, shuffle, repeat_cnt=1): argument
231 def sharding_config(num_shards, shard_id, num_samples, shuffle, repeat_cnt=1): argument
Dtest_sampler.py31 def test_config(num_samples, num_repeats=None): argument
54 def test_config(replacement, num_samples, num_repeats): argument
77 def test_config(replacement, num_samples, num_repeats, validate): argument
109 def __init__(self, num_samples=None): argument
167 def test_config(start_index, num_samples): argument
190 def test_config(indices, num_samples=None, exception_msg=None): argument
/third_party/mindspore/mindspore/ccsrc/minddata/mindrecord/meta/
Dshard_pk_sample.cc25 …Sample::ShardPkSample(const std::string &category_field, int64_t num_elements, int64_t num_samples) in ShardPkSample()
31 int64_t num_samples) in ShardPkSample()
35 uint32_t seed, int64_t num_samples) in ShardPkSample()
/third_party/gstreamer/gstplugins_base/gst/volume/
Dgstvolume.c359 guint num_samples = n_bytes / sizeof (gdouble); in volume_process_double() local
369 guint num_samples = n_bytes / (sizeof (gdouble) * channels); in volume_process_controlled_double() local
389 guint num_samples = n_bytes / sizeof (gfloat); in volume_process_float() local
399 guint num_samples = n_bytes / (sizeof (gfloat) * channels); in volume_process_controlled_float() local
421 guint num_samples = n_bytes / sizeof (gint); in volume_process_int32() local
432 guint num_samples = n_bytes / sizeof (gint); in volume_process_int32_clamp() local
446 guint num_samples = n_bytes / (sizeof (gint32) * channels); in volume_process_controlled_int32_clamp() local
486 guint i, num_samples; in volume_process_int24() local
509 guint i, num_samples; in volume_process_int24_clamp() local
534 guint num_samples = n_bytes / (sizeof (gint8) * 3 * channels); in volume_process_controlled_int24_clamp() local
[all …]
/third_party/mindspore/mindspore/dataset/engine/
Dsamplers.py29 def select_sampler(num_samples, input_sampler, shuffle, num_shards, shard_id): argument
99 def __init__(self, num_samples=None): argument
239 def __init__(self, num_samples=None): argument
259 def _handshake(self, ds_size, num_samples): argument
354 def __init__(self, num_shards, shard_id, shuffle=True, num_samples=None, offset=-1): argument
450 …def __init__(self, num_val, num_class=None, shuffle=False, class_column='label', num_samples=None): argument
529 def __init__(self, replacement=False, num_samples=None): argument
594 def __init__(self, start_index=None, num_samples=None): argument
662 def __init__(self, indices, num_samples=None): argument
791 def __init__(self, sampler, num_samples=None): argument
[all …]
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/python/bindings/mindrecord/include/
Dbindings.cc52 .def(py::init([](int64_t kVal, std::string kColumn, bool shuffle, int64_t num_samples) { in __anone6b51b890402()
74 .def(py::init([](int64_t num_samples, int64_t start_index) { in __anone6b51b890702()
83 .def(py::init([](int64_t num_samples, bool replacement, bool reshuffle_each_epoch) { in __anone6b51b890902()
/third_party/gstreamer/gstplugins_good/gst/audiofx/
Daudiodynamic.c342 gint16 * data, guint num_samples) in gst_audio_dynamic_transform_hard_knee_compressor_int()
367 filter, gfloat * data, guint num_samples) in gst_audio_dynamic_transform_hard_knee_compressor_float()
391 gint16 * data, guint num_samples) in gst_audio_dynamic_transform_soft_knee_compressor_int()
441 filter, gfloat * data, guint num_samples) in gst_audio_dynamic_transform_soft_knee_compressor_float()
496 gint16 * data, guint num_samples) in gst_audio_dynamic_transform_hard_knee_expander_int()
537 gfloat * data, guint num_samples) in gst_audio_dynamic_transform_hard_knee_expander_float()
571 gint16 * data, guint num_samples) in gst_audio_dynamic_transform_soft_knee_expander_int()
633 gfloat * data, guint num_samples) in gst_audio_dynamic_transform_soft_knee_expander_float()
693 guint num_samples; in gst_audio_dynamic_transform_ip() local
Daudioinvert.c202 gint16 * data, guint num_samples) in gst_audio_invert_transform_int()
216 gfloat * data, guint num_samples) in gst_audio_invert_transform_float()
233 guint num_samples; in gst_audio_invert_transform_ip() local
/third_party/mindspore/tests/ut/cpp/dataset/
Dweighted_random_sampler_test.cc48 uint64_t num_samples = 100; in TEST_F() local
77 uint64_t num_samples = 100; in TEST_F() local
112 uint64_t num_samples = 100; in TEST_F() local
144 uint64_t num_samples = 100; in TEST_F() local
187 uint64_t num_samples = 1000000; in TEST_F() local
231 uint64_t num_samples = 1000000; in TEST_F() local
Ddistributed_sampler_test.cc48 uint64_t num_samples = 7; in TEST_F() local
72 uint64_t num_samples = 7; in TEST_F() local
97 uint64_t num_samples = 2; in TEST_F() local
Dimage_folder_op_test.cc58 int64_t num_samples = 0; // default num samples of 0 means to sample entire set of data local
138 int64_t num_samples = 12; in TEST_F() local
206 int64_t num_samples = 0; in TEST_F() local
238 int64_t num_samples = 12; in TEST_F() local
302 int64_t num_samples = 0; in TEST_F() local
334 int64_t num_samples = 0; in TEST_F() local
368 int64_t num_samples = 20; in TEST_F() local
399 int64_t num_samples = 5; in TEST_F() local
429 int64_t num_samples = 12; in TEST_F() local
Dsubset_sampler_test.cc43 int64_t num_samples = 0; in TEST_F() local
70 int64_t num_samples = 0; in TEST_F() local
101 int64_t num_samples = 0; in TEST_F() local
Dsubset_random_sampler_test.cc43 int64_t num_samples = 0; in TEST_F() local
70 int64_t num_samples = 0; in TEST_F() local
100 int64_t num_samples = 0; in TEST_F() local
Dmanifest_op_test.cc44 const int64_t num_samples = 0; local
92 int64_t num_samples = 0; in TEST_F() local
152 int64_t num_samples = 1; in TEST_F() local
185 int64_t num_samples = 1; in TEST_F() local
Dmnist_op_test.cc56 int64_t num_samples = 10; in TEST_F() local
89 int64_t num_samples = 10; in TEST_F() local
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/ir/datasetops/source/samplers/
Dsubset_random_sampler_ir.cc34 SubsetRandomSamplerObj::SubsetRandomSamplerObj(std::vector<int64_t> indices, int64_t num_samples) in SubsetRandomSamplerObj()
68 Status SubsetRandomSamplerObj::from_json(nlohmann::json json_obj, int64_t num_samples, in from_json()
Dsequential_sampler_ir.cc34 SequentialSamplerObj::SequentialSamplerObj(int64_t start_index, int64_t num_samples) in SequentialSamplerObj()
65 Status SequentialSamplerObj::from_json(nlohmann::json json_obj, int64_t num_samples, in from_json()
Dsubset_sampler_ir.cc34 SubsetSamplerObj::SubsetSamplerObj(std::vector<int64_t> indices, int64_t num_samples) in SubsetSamplerObj()
76 Status SubsetSamplerObj::from_json(nlohmann::json json_obj, int64_t num_samples, std::shared_ptr<Sa… in from_json()
Drandom_sampler_ir.cc34 RandomSamplerObj::RandomSamplerObj(bool replacement, int64_t num_samples, bool reshuffle_each_epoch) in RandomSamplerObj()
60 Status RandomSamplerObj::from_json(nlohmann::json json_obj, int64_t num_samples, std::shared_ptr<Sa… in from_json()
Dpk_sampler_ir.cc34 PKSamplerObj::PKSamplerObj(int64_t num_val, bool shuffle, int64_t num_samples) in PKSamplerObj()
64 Status PKSamplerObj::from_json(nlohmann::json json_obj, int64_t num_samples, std::shared_ptr<Sample… in from_json()
Dweighted_random_sampler_ir.cc25 WeightedRandomSamplerObj::WeightedRandomSamplerObj(std::vector<double> weights, int64_t num_samples in WeightedRandomSamplerObj()
67 Status WeightedRandomSamplerObj::from_json(nlohmann::json json_obj, int64_t num_samples, in from_json()
Ddistributed_sampler_ir.cc34 …Obj::DistributedSamplerObj(int64_t num_shards, int64_t shard_id, bool shuffle, int64_t num_samples, in DistributedSamplerObj()
111 Status DistributedSamplerObj::from_json(nlohmann::json json_obj, int64_t num_samples, in from_json()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/datasetops/source/sampler/
Dsequential_sampler.cc23 SequentialSamplerRT::SequentialSamplerRT(int64_t start_index, int64_t num_samples, int64_t samples_… in SequentialSamplerRT()
114 …int64_t num_samples = (num_samples_ > 0) ? std::min(child_num_rows, num_samples_) : child_num_rows; in CalculateNumSamples() local

1234567