/dports/science/hypre/hypre-2.23.0/src/FEI_mv/fei-hypre/ |
H A D | HYPRE_LSI_poly.c | 159 double *coefs=NULL, rowsum, max_norm, *colVal; in HYPRE_LSI_PolySetup() local 189 max_norm = 0.0; in HYPRE_LSI_PolySetup() 201 if ( rowsum > max_norm ) max_norm = rowsum; in HYPRE_LSI_PolySetup() 205 MPI_Allreduce(&max_norm, &dtemp, 1, MPI_DOUBLE, MPI_MAX, poly_ptr->comm); in HYPRE_LSI_PolySetup() 207 if ( pos_diag == 0 && neg_diag > 0 ) max_norm = - max_norm; in HYPRE_LSI_PolySetup() 238 coefs[i] *= pow( 4.0 / max_norm, (double) i); in HYPRE_LSI_PolySetup()
|
/dports/misc/mxnet/incubator-mxnet-1.9.0/example/rnn/word_lm/ |
H A D | module.py | 92 def update(self, max_norm=None): argument 102 if max_norm is not None: 103 self._clip_by_global_norm(max_norm) 106 def _clip_by_global_norm(self, max_norm): argument 129 return mx.gluon.utils.clip_global_norm(grad_array, max_norm)
|
/dports/misc/py-mxnet/incubator-mxnet-1.9.0/example/rnn/word_lm/ |
H A D | module.py | 92 def update(self, max_norm=None): argument 102 if max_norm is not None: 103 self._clip_by_global_norm(max_norm) 106 def _clip_by_global_norm(self, max_norm): argument 129 return mx.gluon.utils.clip_global_norm(grad_array, max_norm)
|
/dports/misc/py-gluonnlp/gluon-nlp-0.10.0/src/gluonnlp/utils/ |
H A D | parameter.py | 30 def grad_global_norm(parameters, max_norm=None): argument 89 if max_norm is None: 91 scale = total_norm / max_norm 103 def clip_grad_global_norm(parameters, max_norm, check_isfinite=True): argument 144 total_norm, ratio, is_finite = grad_global_norm(parameters, max_norm)
|
/dports/x11/wf-shell/wf-shell-0.7.0/src/panel/widgets/ |
H A D | volume.cpp | 72 get_volume_level(volume_scale.get_target_value(), max_norm); in update_icon() 130 const int32_t adjustment_step = max_norm * INCREMENT_STEP_PC; in on_volume_scroll() 136 set_volume(std::min(current_volume + adjustment_step, (int32_t)max_norm)); in on_volume_scroll() 220 max_norm = gvc_mixer_control_get_vol_max_norm(gvc_control); in on_default_sink_changed() 221 volume_scale.set_range(0.0, max_norm); in on_default_sink_changed() 222 volume_scale.set_increments(max_norm * INCREMENT_STEP_PC, in on_default_sink_changed() 223 max_norm * INCREMENT_STEP_PC * 2); in on_default_sink_changed()
|
/dports/math/latte-integrale/latte-version_1_7_6/code/latte/barvinok/ |
H A D | SubspaceAvoidingDecomposition.cpp | 30 max_norm(const vec_ZZ& x) in max_norm() function 63 ZZ n = max_norm(L(i)); in ComputeShortVectorAvoidingSubspace() 87 ZZ tn = max_norm(tL); in ComputeShortVectorAvoidingSubspace() 97 tn = max_norm(tL); in ComputeShortVectorAvoidingSubspace()
|
/dports/science/dynare/dynare-4.6.4/dynare++/sylv/cc/ |
H A D | IterativeSylvester.cc | 29 double max_norm = *(pars.convergence_tol); in solve() local 34 while (steps < max_steps && norm > max_norm) in solve() 42 pars.converged = (norm <= max_norm); in solve()
|
/dports/misc/py-gluonnlp/gluon-nlp-0.10.0/tests/unittest/ |
H A D | test_utils.py | 73 def test_grad_global_norm(max_norm): argument 85 if max_norm: 87 max_norm) 90 max_norm) 106 def test_clip_grad_norm(max_norm, check_isfinite): argument 119 max_norm, check_isfinite) 124 if max_norm > np.sqrt(8): # no clipping
|
/dports/audio/praat/praat-6.2.03/external/gsl/ |
H A D | gsl_linalg__hh.c | 92 REAL max_norm = 0.0; 126 max_norm = GSL_MAX (max_norm, norm); 138 if (fabs (alpha) < 2.0 * GSL_DBL_EPSILON * sqrt (max_norm))
|
/dports/math/gsl/gsl-2.7/linalg/ |
H A D | hh.c | 92 REAL max_norm = 0.0; in gsl_linalg_HH_svx() local 126 max_norm = GSL_MAX (max_norm, norm); in gsl_linalg_HH_svx() 138 if (fabs (alpha) < 2.0 * GSL_DBL_EPSILON * sqrt (max_norm)) in gsl_linalg_HH_svx()
|
/dports/science/lammps/lammps-stable_29Sep2021/src/PTM/ |
H A D | ptm_neighbour_ordering.cpp | 86 …reas(int num_points, const double (*_points)[3], double* normsq, double max_norm, ptm_voro::vorono… in calculate_voronoi_face_areas() argument 89 const double k = 10 * max_norm; in calculate_voronoi_face_areas() 184 double max_norm = 0; in _calculate_neighbour_ordering() local 198 max_norm = std::max(max_norm, normsq[i]); in _calculate_neighbour_ordering() 201 max_norm = sqrt(max_norm); in _calculate_neighbour_ordering() 205 …int ret = calculate_voronoi_face_areas(num_points, points, normsq, max_norm, voronoi_handle, calc_… in _calculate_neighbour_ordering()
|
/dports/science/xtb/xtb-6.4.1/src/solv/ddcosmo/ |
H A D | solver.f90 | 90 real(wp) :: rms_norm, max_norm, tol_max local 155 call rmsvec(n, xptr, rms_norm, max_norm) 161 ok = (max_norm < tol) 163 ok = (rms_norm < tol) .and. (max_norm < tol_max) 170 max_norm = -1.0_wp 183 write(*, f110) it, 'max', max_norm 187 write(*, f100) it, rms_norm, max_norm
|
/dports/math/py-keras/Keras-2.4.3/keras/ |
H A D | constraints.py | 20 max_norm = MaxNorm variable 27 maxnorm = max_norm
|
/dports/math/py-keras/Keras-2.4.3/docs/templates/ |
H A D | constraints.md | 14 from keras.constraints import max_norm 15 model.add(Dense(64, kernel_constraint=max_norm(2.)))
|
/dports/misc/py-gluonnlp/gluon-nlp-0.10.0/scripts/bert/ |
H A D | fp16_utils.py | 60 def step(self, batch_size, max_norm=None): argument 74 if max_norm: 76 max_norm * self._scaler.loss_scale)
|
/dports/cad/meshlab/meshlab-Meshlab-2020.05/src/meshlabplugins/filter_mutualinfoxml/ |
H A D | parameters.h | 18 bool max_norm; //use max distance as pixel diff (instead of rms) variable 25 Parameters(): use_focal(true), max_norm(false) {} in Parameters()
|
H A D | parameters.cpp | 28 use_focal(_use_focal), max_norm(false), reference(_reference), box(_box) { in Parameters() 36 use_focal(_use_focal), max_norm(false), reference(_reference), box(_box) { in Parameters() 150 if(max_norm) return maxdist; in pixelDiff() 169 if(max_norm) return maxdist; in pixelDiff()
|
/dports/cad/meshlab/meshlab-Meshlab-2020.05/src/meshlabplugins/filter_mutualglobal/ |
H A D | parameters.h | 18 bool max_norm; //use max distance as pixel diff (instead of rms) variable 25 Parameters(): use_focal(true), max_norm(false) {} in Parameters()
|
H A D | parameters.cpp | 28 use_focal(_use_focal), max_norm(false), reference(_reference), box(_box) { in Parameters() 36 use_focal(_use_focal), max_norm(false), reference(_reference), box(_box) { in Parameters() 148 if(max_norm) return maxdist; in pixelDiff() 167 if(max_norm) return maxdist; in pixelDiff()
|
/dports/cad/meshlab/meshlab-Meshlab-2020.05/src/meshlabplugins/edit_mutualcorrs/ |
H A D | parameters.h | 18 bool max_norm; //use max distance as pixel diff (instead of rms) variable 25 Parameters(): use_focal(true), max_norm(false) {} in Parameters()
|
H A D | parameters.cpp | 28 use_focal(_use_focal), max_norm(false), reference(_reference), box(_box) { in Parameters() 36 use_focal(_use_focal), max_norm(false), reference(_reference), box(_box) { in Parameters() 150 if(max_norm) return maxdist; in pixelDiff() 169 if(max_norm) return maxdist; in pixelDiff()
|
/dports/math/polymake/polymake-4.5/apps/graph/src/ |
H A D | bounded_embedder.cc | 33 Coords max_norm(const Matrix<Coords>& V, Int i, Int j) in max_norm() function 86 scale += max_norm(V,*fix1,*fix2)/square_norm(GR,*fix1,*fix2); in bounded_embedder() 100 …BGmap[*e] = use_max_norm ? max_norm(V, e.from_node(), e.to_node())/scale : square_norm(V, e.from_… in bounded_embedder()
|
/dports/x11/cinnamon-screensaver/cinnamon-screensaver-4.8.1/src/ |
H A D | volumeControl.py | 102 max_norm = self.controller.get_vol_max_norm() 104 denormalized_volume = utils.CLAMP((value / 100) * max_norm, 0, max_norm)
|
/dports/cad/meshlab/meshlab-Meshlab-2020.05/src/plugins_unsupported/filter_mutualinfo/ |
H A D | parameters.h | 21 bool max_norm; //use max distance as pixel diff (instead of rms) variable 31 Parameters(): use_focal(true), max_norm(false), pointSamples(NULL) {} in Parameters()
|
H A D | parameters.cpp | 10 use_focal(_use_focal), max_norm(false), reference(_reference), box(_box) in Parameters() 21 use_focal(_use_focal), max_norm(false), reference(_reference), box(_box) in Parameters() 173 if(max_norm) return maxdist; in pixelDiff() 197 if(max_norm) return maxdist; in pixelDiff()
|