Home
last modified time | relevance | path

Searched refs:check_isfinite (Results 1 – 17 of 17) sorted by relevance

/dports/misc/py-gluonnlp/gluon-nlp-0.10.0/src/gluonnlp/utils/
H A Dparameter.py103 def clip_grad_global_norm(parameters, max_norm, check_isfinite=True): argument
146 if check_isfinite:
/dports/misc/mxnet/incubator-mxnet-1.9.0/python/mxnet/gluon/
H A Dutils.py122 def clip_global_norm(arrays, max_norm, check_isfinite=True): argument
149 if check_isfinite:
158 if check_isfinite:
/dports/misc/py-mxnet/incubator-mxnet-1.9.0/python/mxnet/gluon/
H A Dutils.py122 def clip_global_norm(arrays, max_norm, check_isfinite=True): argument
149 if check_isfinite:
158 if check_isfinite:
/dports/math/py-theano/Theano-1.0.5/theano/compile/tests/
H A Dtest_debugmode.py576 'DEBUG_MODE'].check_isfinite
581 'DEBUG_MODE'].check_isfinite = self.old_dm
610 'DEBUG_MODE'].check_isfinite = False
618 mode=debugmode.DebugMode(check_isfinite=False))
/dports/misc/py-gluonnlp/gluon-nlp-0.10.0/tests/unittest/
H A Dtest_utils.py106 def test_clip_grad_norm(max_norm, check_isfinite): argument
119 max_norm, check_isfinite)
/dports/math/py-theano/Theano-1.0.5/theano/gpuarray/tests/
H A Dtest_elemwise.py99 cls.mode_with_gpu.check_isfinite = False
104 cls.mode_without_gpu.check_isfinite = False
H A Dtest_dnn.py292 mode_without_gpu2.check_isfinite = False
380 mode_without_gpu2.check_isfinite = False
/dports/misc/py-mxnet/incubator-mxnet-1.9.0/tests/python/gpu/
H A Dtest_gluon_gpu.py336 for check_isfinite in [True, False]:
340 [x1, x2], 1.0, check_isfinite=check_isfinite)
341 if check_isfinite:
/dports/misc/mxnet/incubator-mxnet-1.9.0/tests/python/gpu/
H A Dtest_gluon_gpu.py336 for check_isfinite in [True, False]:
340 [x1, x2], 1.0, check_isfinite=check_isfinite)
341 if check_isfinite:
/dports/math/py-theano/Theano-1.0.5/theano/compile/
H A Ddebugmode.py1264 new_mode.check_isfinite = False
2127 self.maker.mode.check_isfinite
2401 check_isfinite = config.DebugMode.check_finite variable in DebugMode
2441 check_isfinite=None, argument
2468 if check_isfinite is not None:
2469 self.check_isfinite = check_isfinite
/dports/misc/py-mxnet/incubator-mxnet-1.9.0/tests/python/unittest/
H A Dtest_gluon.py1168 def check_global_norm_clip(stype, check_isfinite): argument
1171 norm = gluon.utils.clip_global_norm([x1, x2], 1.0, check_isfinite=check_isfinite)
1179 gluon.utils.clip_global_norm([x1, x3], 2.0, check_isfinite=check_isfinite)
1180 assert len(w) == check_isfinite
1183 for check_isfinite in [True, False]:
1184 check_global_norm_clip(stype, check_isfinite)
/dports/misc/mxnet/incubator-mxnet-1.9.0/tests/python/unittest/
H A Dtest_gluon.py1168 def check_global_norm_clip(stype, check_isfinite): argument
1171 norm = gluon.utils.clip_global_norm([x1, x2], 1.0, check_isfinite=check_isfinite)
1179 gluon.utils.clip_global_norm([x1, x3], 2.0, check_isfinite=check_isfinite)
1180 assert len(w) == check_isfinite
1183 for check_isfinite in [True, False]:
1184 check_global_norm_clip(stype, check_isfinite)
/dports/math/py-theano/Theano-1.0.5/theano/tensor/tests/
H A Dtest_elemwise.py610 mode.check_isfinite = False
788 self.mode.check_isfinite = False
1274 mode.check_isfinite = False
H A Dtest_blas_c.py143 mode.check_isfinite = False
H A Dtest_opt.py1437 m.check_isfinite = False
3994 mode.check_isfinite = False
4657 mode.check_isfinite = False
4706 self.mode.check_isfinite = False
4939 mode.check_isfinite = False
4941 mode_fusion.check_isfinite = False
4985 mode.check_isfinite = False
4987 mode_fusion.check_isfinite = False
H A Dtest_basic.py1078 m.check_isfinite = False
3062 mode.check_isfinite = False
4572 def inplace_func(self, inputs, outputs, check_isfinite=None): argument
4574 if check_isfinite is False:
4577 mode.check_isfinite = False
4714 fn1 = self.inplace_func([], o1, check_isfinite=False)
4717 fn2 = self.inplace_func([], o2, check_isfinite=False)
4764 check_isfinite=False)
/dports/math/py-theano/Theano-1.0.5/theano/tensor/nnet/tests/
H A Dtest_nnet.py212 m.check_isfinite = False
276 m.check_isfinite = False