Home
last modified time | relevance | path

Searched refs:n_batches (Results 1 – 25 of 92) sorted by relevance

1234

/dports/misc/py-xgboost/xgboost-1.5.1/tests/python/
H A Dtest_data_iterator.py12 n_samples_per_batch: int, n_features: int, n_batches: int, use_cupy: bool = False
22 for i in range(n_batches):
69 n_batches: int,
76 *make_batches(n_samples_per_batch, n_features, n_batches, use_cupy)
78 if n_batches == 0:
84 assert Xy.num_row() == n_samples_per_batch * n_batches
100 assert Xy.num_row() == n_samples_per_batch * n_batches
133 n_samples_per_batch: int, n_features: int, n_batches: int
135 run_data_iterator(n_samples_per_batch, n_features, n_batches, "approx", False)
136 run_data_iterator(n_samples_per_batch, n_features, n_batches, "hist", False)
/dports/misc/xgboost/xgboost-1.5.1/tests/python/
H A Dtest_data_iterator.py12 n_samples_per_batch: int, n_features: int, n_batches: int, use_cupy: bool = False
22 for i in range(n_batches):
69 n_batches: int,
76 *make_batches(n_samples_per_batch, n_features, n_batches, use_cupy)
78 if n_batches == 0:
84 assert Xy.num_row() == n_samples_per_batch * n_batches
100 assert Xy.num_row() == n_samples_per_batch * n_batches
133 n_samples_per_batch: int, n_features: int, n_batches: int
135 run_data_iterator(n_samples_per_batch, n_features, n_batches, "approx", False)
136 run_data_iterator(n_samples_per_batch, n_features, n_batches, "hist", False)
/dports/graphics/chafa/chafa-1.8.0/chafa/internal/
H A Dchafa-batch.c25 chafa_process_batches (gpointer ctx, GFunc batch_func, GFunc post_func, gint n_rows, gint n_batches in chafa_process_batches() argument
34 g_assert (n_batches >= 1); in chafa_process_batches()
41 units_per_batch = (gfloat) n_units / (gfloat) n_batches; in chafa_process_batches()
43 batches = g_new0 (ChafaBatchInfo, n_batches); in chafa_process_batches()
53 for (i = 0; i < n_batches; ) in chafa_process_batches()
97 for (i = 0; i < n_batches; i++) in chafa_process_batches()
/dports/science/py-OpenMC/openmc-0.12.2/src/
H A Dsettings.cpp94 int n_batches; variable
149 if (!trigger_on) n_max_batches = n_batches; in get_run_parameters()
365 if (n_batches <= n_inactive) { in read_settings_xml()
599 statepoint_batch.insert(n_batches); in read_settings_xml()
604 statepoint_batch.insert(n_batches); in read_settings_xml()
846 if (settings::n_inactive >= n_batches) { in openmc_set_n_batches()
858 settings::n_batches = n_batches; in openmc_set_n_batches()
859 settings::n_max_batches = n_batches; in openmc_set_n_batches()
863 settings::n_max_batches = n_batches; in openmc_set_n_batches()
865 settings::n_batches = n_batches; in openmc_set_n_batches()
[all …]
/dports/science/openmc/openmc-0.12.2/src/
H A Dsettings.cpp94 int n_batches; variable
149 if (!trigger_on) n_max_batches = n_batches; in get_run_parameters()
365 if (n_batches <= n_inactive) { in read_settings_xml()
599 statepoint_batch.insert(n_batches); in read_settings_xml()
604 statepoint_batch.insert(n_batches); in read_settings_xml()
846 if (settings::n_inactive >= n_batches) { in openmc_set_n_batches()
858 settings::n_batches = n_batches; in openmc_set_n_batches()
859 settings::n_max_batches = n_batches; in openmc_set_n_batches()
863 settings::n_max_batches = n_batches; in openmc_set_n_batches()
865 settings::n_batches = n_batches; in openmc_set_n_batches()
[all …]
/dports/science/py-OpenMC/openmc-0.12.2/openmc/lib/
H A Dsettings.py69 def set_batches(self, n_batches, set_max_batches=True, add_sp_batch=True): argument
84 _dll.openmc_set_n_batches(n_batches, set_max_batches, add_sp_batch)
101 n_batches = c_int()
102 _dll.openmc_get_n_batches(n_batches, get_max_batches)
104 return n_batches.value
/dports/science/openmc/openmc-0.12.2/openmc/lib/
H A Dsettings.py69 def set_batches(self, n_batches, set_max_batches=True, add_sp_batch=True): argument
84 _dll.openmc_set_n_batches(n_batches, set_max_batches, add_sp_batch)
101 n_batches = c_int()
102 _dll.openmc_get_n_batches(n_batches, get_max_batches)
104 return n_batches.value
/dports/misc/py-xgboost/xgboost-1.5.1/tests/python-gpu/
H A Dtest_gpu_data_iterator.py24 n_samples_per_batch: int, n_features: int, n_batches: int
26 run_data_iterator(n_samples_per_batch, n_features, n_batches, "gpu_hist", True)
27 run_data_iterator(n_samples_per_batch, n_features, n_batches, "gpu_hist", False)
/dports/misc/xgboost/xgboost-1.5.1/tests/python-gpu/
H A Dtest_gpu_data_iterator.py24 n_samples_per_batch: int, n_features: int, n_batches: int
26 run_data_iterator(n_samples_per_batch, n_features, n_batches, "gpu_hist", True)
27 run_data_iterator(n_samples_per_batch, n_features, n_batches, "gpu_hist", False)
/dports/misc/py-xgboost/xgboost-1.5.1/src/data/
H A Dsparse_page_source.h162 uint32_t n_batches, std::shared_ptr<Cache> cache) in SparsePageSourceImpl() argument
164 n_batches_{n_batches}, cache_info_{std::move(cache)} {}
234 bst_feature_t n_features, uint32_t n_batches, std::shared_ptr<Cache> cache) in SparsePageSource() argument
235 : SparsePageSourceImpl(missing, nthreads, n_features, n_batches, cache), in SparsePageSource()
322 float missing, int nthreads, bst_feature_t n_features, uint32_t n_batches, in CSCPageSource() argument
326 n_batches, cache) { in CSCPageSource()
350 uint32_t n_batches, std::shared_ptr<Cache> cache, in SortedCSCPageSource() argument
352 : PageSourceIncMixIn(missing, nthreads, n_features, n_batches, cache) { in SortedCSCPageSource()
H A Dgradient_index_page_source.h22 size_t n_batches, std::shared_ptr<Cache> cache, in GradientIndexPageSource() argument
26 : PageSourceIncMixIn(missing, nthreads, n_features, n_batches, cache), in GradientIndexPageSource()
H A Dellpack_page_source.h29 float missing, int nthreads, bst_feature_t n_features, size_t n_batches, in EllpackPageSource() argument
34 : PageSourceIncMixIn(missing, nthreads, n_features, n_batches, cache), in EllpackPageSource()
/dports/misc/xgboost/xgboost-1.5.1/src/data/
H A Dsparse_page_source.h162 uint32_t n_batches, std::shared_ptr<Cache> cache) in SparsePageSourceImpl() argument
164 n_batches_{n_batches}, cache_info_{std::move(cache)} {}
234 bst_feature_t n_features, uint32_t n_batches, std::shared_ptr<Cache> cache) in SparsePageSource() argument
235 : SparsePageSourceImpl(missing, nthreads, n_features, n_batches, cache), in SparsePageSource()
322 float missing, int nthreads, bst_feature_t n_features, uint32_t n_batches, in CSCPageSource() argument
326 n_batches, cache) { in CSCPageSource()
350 uint32_t n_batches, std::shared_ptr<Cache> cache, in SortedCSCPageSource() argument
352 : PageSourceIncMixIn(missing, nthreads, n_features, n_batches, cache) { in SortedCSCPageSource()
H A Dgradient_index_page_source.h22 size_t n_batches, std::shared_ptr<Cache> cache, in GradientIndexPageSource() argument
26 : PageSourceIncMixIn(missing, nthreads, n_features, n_batches, cache), in GradientIndexPageSource()
H A Dellpack_page_source.h29 float missing, int nthreads, bst_feature_t n_features, size_t n_batches, in EllpackPageSource() argument
34 : PageSourceIncMixIn(missing, nthreads, n_features, n_batches, cache), in EllpackPageSource()
/dports/science/py-OpenMC/openmc-0.12.2/src/tallies/
H A Dtrigger.cpp152 const auto n_batches {settings::n_batches}; in check_triggers() local
157 if (current_batch < n_batches) return; in check_triggers()
158 if (((current_batch - n_batches) % interval) != 0) return; in check_triggers()
/dports/science/openmc/openmc-0.12.2/src/tallies/
H A Dtrigger.cpp152 const auto n_batches {settings::n_batches}; in check_triggers() local
157 if (current_batch < n_batches) return; in check_triggers()
158 if (((current_batch - n_batches) % interval) != 0) return; in check_triggers()
/dports/science/octopus/octopus-10.5/src/states/
H A Dwfs_elec.F9086 subroutine wfs_elec_clone_to_array(this, dest, n_batches, pack, copy_data) argument
89 integer, intent(in) :: n_batches local
98 SAFE_ALLOCATE_TYPE_ARRAY(wfs_elec_t, dest, (1:n_batches))
106 do ib = 1, n_batches
/dports/science/py-nilearn/nilearn-0.8.1/nilearn/
H A Dsignal.py92 def _mean_of_squares(signals, n_batches=20): argument
115 n_batches = 1
119 for batch in gen_even_slices(signals.shape[1], n_batches):
127 def _row_sum_of_squares(signals, n_batches=20): argument
149 n_batches = 1
153 for batch in gen_even_slices(signals.shape[1], n_batches):
159 def _detrend(signals, inplace=False, type="linear", n_batches=10): argument
216 n_batches = 1
219 for batch in gen_even_slices(signals.shape[1], n_batches):
/dports/science/dalton/dalton-66052b3af5ea7225e31178bf9a8b031913c72190/DALTON/mlcc/
H A Dmlccsdpt_integrals.F9076 integer :: batch, n_batches, batch_size, memory_use, batch_size2 local
160 n_batches = (n_occ_act - 1)/batch_size + 1
169 write(lupri,*) 'n_batches: ', n_batches
245 do batch = 1,n_batches
266 if (batch .eq. n_batches) then
267 batch_size = n_occ_act - batch_size*(n_batches - 1)
274 write(lupri,*) 'n_batches: ', n_batches
/dports/science/py-GPy/GPy-1.10.0/GPy/kern/src/
H A Dsymmetric.py94 n_batches = int(np.ceil(n_points / float(batch_size)))
96 for i in range(n_batches):
142 n_batches = int(np.ceil(n_points / float(batch_size)))
144 for i in range(n_batches):
/dports/misc/mxnet/incubator-mxnet-1.9.0/example/gluon/dc_gan/
H A Dinception_score.py52 n_batches = int(math.ceil(float(images.shape[0])/float(bs)))
55 for i in range(n_batches):
/dports/misc/py-mxnet/incubator-mxnet-1.9.0/example/gluon/dc_gan/
H A Dinception_score.py52 n_batches = int(math.ceil(float(images.shape[0])/float(bs)))
55 for i in range(n_batches):
/dports/misc/py-xgboost/xgboost-1.5.1/demo/guide-python/
H A Dexternal_memory.py16 n_samples_per_batch: int, n_features: int, n_batches: int
22 for i in range(n_batches):
/dports/games/openclonk/openclonk-release-8.1-src/planet/Missions.ocf/DeadlyGrotto.ocs/
H A DScript.c74 private func PlaceBatches(array item_ids, int n_per_batch, int batch_radius, int n_batches) in PlaceBatches() argument
79 for (var i=0; i<n_batches; ++i) in PlaceBatches()

1234