Home
last modified time | relevance | path

Searched refs:assertLess (Results 1 – 25 of 229) sorted by relevance

12345678910

/external/python/cpython3/Lib/test/
Dtest_platform.py324 self.assertLess(V('1.2.3'), V('1.2.10'))
326 self.assertLess(V('1.2spam'), V('1.2dev'))
327 self.assertLess(V('1.2dev'), V('1.2alpha'))
328 self.assertLess(V('1.2dev'), V('1.2a'))
329 self.assertLess(V('1.2alpha'), V('1.2beta'))
330 self.assertLess(V('1.2a'), V('1.2b'))
331 self.assertLess(V('1.2beta'), V('1.2c'))
332 self.assertLess(V('1.2b'), V('1.2c'))
333 self.assertLess(V('1.2c'), V('1.2RC'))
334 self.assertLess(V('1.2c'), V('1.2rc'))
[all …]
Dtest_threadsignals.py105 self.assertLess(dt, 3.0)
143 self.assertLess(dt, 3.0)
223 self.assertLess(self.end - self.start, 2.0)
/external/tensorflow/tensorflow/python/ops/
Dmath_grad_test.py57 self.assertLess(left_err, 1e-10)
58 self.assertLess(right_err, 1e-10)
90 self.assertLess(error, max_error)
115 self.assertLess(error, 1e-4)
123 self.assertLess(error, 1e-4)
134 self.assertLess(error, 1e-4)
142 self.assertLess(error, 1e-4)
156 self.assertLess(error, 1e-4)
167 self.assertLess(error, 1e-4)
179 self.assertLess(error, 1e-4)
[all …]
Dgradient_checker_v2_test.py63 self.assertLess(error, 1e-4)
78 self.assertLess(error, 1e-4)
89 self.assertLess(error, 1e-4)
98 self.assertLess(error, 1e-4)
107 self.assertLess(error, 0.07)
117 self.assertLess(error, 1e-10)
133 self.assertLess(error, 1e-4)
152 self.assertLess(error, 1e-4)
168 self.assertLess(
185 self.assertLess(
[all …]
Dnn_grad_test.py58 self.assertLess(error, 1e-4)
77 self.assertLess(error, 1e-4)
88 self.assertLess(error, 1e-3)
139 self.assertLess(error, 1e-3)
203 self.assertLess(error, 1e-4)
220 self.assertLess(error, 1e-4)
240 self.assertLess(error, 1e-4)
257 self.assertLess(error, 1e-4)
Dspecial_math_ops_test.py223 self.assertLess(gradient_checker_v2.max_error(analytical, numerical), 1e-4)
265 self.assertLess(gradient_checker_v2.max_error(analytical, numerical), 5e-3)
310 self.assertLess(gradient_checker_v2.max_error(analytical, numerical), 5e-3)
355 self.assertLess(gradient_checker_v2.max_error(analytical, numerical), 5e-3)
398 self.assertLess(gradient_checker_v2.max_error(analytical, numerical), 1e-4)
584 self.assertLess(gradient_checker_v2.max_error(analytical, numerical), 1e-3)
588 self.assertLess(gradient_checker_v2.max_error(analytical, numerical), 1e-4)
592 self.assertLess(gradient_checker_v2.max_error(analytical, numerical), 1e-3)
596 self.assertLess(gradient_checker_v2.max_error(analytical, numerical), 1e-4)
602 self.assertLess(gradient_checker_v2.max_error(analytical, numerical), 1e-4)
[all …]
Dnn_fused_batchnorm_test.py281 self.assertLess(err_x, x_err_tolerance)
282 self.assertLess(err_scale, scale_err_tolerance)
283 self.assertLess(err_offset, scale_err_tolerance)
381 self.assertLess(err_grad_grad_y_1, err_tolerance)
382 self.assertLess(err_grad_grad_y_2, err_tolerance)
383 self.assertLess(err_grad_grad_y_3, err_tolerance)
385 self.assertLess(err_grad_x_1, err_tolerance)
386 self.assertLess(err_grad_x_2, err_tolerance)
387 self.assertLess(err_grad_scale, err_tolerance)
Dimage_grad_test_base.py73 self.assertLess(err, 1e-3)
90 self.assertLess(err, 1e-3)
315 self.assertLess(err, 1e-3)
334 self.assertLess(err, 1e-3)
392 self.assertLess(err, 1e-3)
548 self.assertLess(err, 2e-3)
593 self.assertLess(
/external/tensorflow/tensorflow/python/ops/v1_compat_tests/
Dgradient_checker_test.py63 self.assertLess(error, 1e-4)
78 self.assertLess(error, 1e-4)
97 self.assertLess(error, 1e-10)
115 self.assertLess(error, 1e-4)
137 self.assertLess(error, 1e-4)
151 self.assertLess(
165 self.assertLess(
293 self.assertLess(self._BuildAndTestMiniMNIST(0, "input"), 1e-8)
297 self.assertLess(self._BuildAndTestMiniMNIST(1, "hidden_weight"), 1e-8)
301 self.assertLess(self._BuildAndTestMiniMNIST(2, "hidden_bias"), 1e-8)
[all …]
/external/tensorflow/tensorflow/python/kernel_tests/
Drelu_op_test.py122 self.assertLess(err, 1e-6)
134 self.assertLess(err, 1e-6)
144 self.assertLess(err, 1e-15)
162 self.assertLess(err, 1e-4)
180 self.assertLess(err, 1e-10)
258 self.assertLess(err, 1e-4)
268 self.assertLess(err, 1e-10)
323 self.assertLess(err, 1e-4)
333 self.assertLess(err, 1e-10)
351 self.assertLess(err, 1e-4)
[all …]
Dbroadcast_to_ops_test.py141 self.assertLess(err, 1e-4)
154 self.assertLess(err, 1e-4)
167 self.assertLess(err, 1e-4)
179 self.assertLess(err, 1e-4)
194 self.assertLess(err, 1e-4)
Dsoftplus_op_test.py89 self.assertLess(err, 1e-4)
107 self.assertLess(err, 5e-5)
126 self.assertLess(err, 5e-5)
Dconv2d_backprop_filter_grad_test.py72 self.assertLess(
117 self.assertLess(err, err_tolerance)
Dextract_image_patches_grad_test.py114 self.assertLess(err, 1e-4)
173 self.assertLess(err, 1e-4)
/external/webrtc/modules/audio_processing/test/py_quality_assessment/quality_assessment/
Dsignal_processing_unittest.py144 self.assertLess(0, e_mix_zero_pad)
145 self.assertLess(e_mix_zero_pad, e_mix_loop)
165 self.assertLess(ampl_low, ampl_high)
172 self.assertLess(ampl_high, ampl_low)
179 self.assertLess(ampl_high, ampl_low)
186 self.assertLess(ampl_low, ampl_high)
/external/tensorflow/tensorflow/compiler/tests/
Dsvd_op_test.py59 self.assertLess(np.linalg.norm(u_diff), 1e-2)
60 self.assertLess(np.linalg.norm(v_diff), 1e-2)
63 self.assertLess(np.linalg.norm(s_val - s_np), 1e-2)
68 self.assertLess(
/external/llvm-project/lldb/third_party/Python/module/unittest2/unittest2/test/
Dtest_case.py872 self.assertLess(1, 2)
878 self.assertRaises(self.failureException, self.assertLess, 2, 1)
879 self.assertRaises(self.failureException, self.assertLess, 1, 1)
886 self.assertLess(1.0, 1.1)
896 self.assertRaises(self.failureException, self.assertLess, 1.1, 1.0)
897 self.assertRaises(self.failureException, self.assertLess, 1.0, 1.0)
908 self.assertLess('ant', 'bug')
926 self.assertRaises(self.failureException, self.assertLess, 'bug', 'ant')
927 self.assertRaises(self.failureException, self.assertLess, 'ant', 'ant')
938 self.assertLess(u'ant', u'bug')
[all …]
/external/python/cpython2/Lib/unittest/test/
Dtest_case.py610 self.assertLess(len(msg), len(diff))
814 self.assertLess(1, 2)
820 self.assertRaises(self.failureException, self.assertLess, 2, 1)
821 self.assertRaises(self.failureException, self.assertLess, 1, 1)
828 self.assertLess(1.0, 1.1)
834 self.assertRaises(self.failureException, self.assertLess, 1.1, 1.0)
835 self.assertRaises(self.failureException, self.assertLess, 1.0, 1.0)
842 self.assertLess('ant', 'bug')
848 self.assertRaises(self.failureException, self.assertLess, 'bug', 'ant')
849 self.assertRaises(self.failureException, self.assertLess, 'ant', 'ant')
[all …]
/external/python/pyfakefs/pyfakefs/tests/
Dfake_stat_time_test.py48 self.assertLess(time1, time2)
52 self.assertLess(time1, time2)
180 self.assertLess(written.st_mtime, closed.st_mtime)
195 self.assertLess(before.st_mtime, opened.st_mtime)
230 self.assertLess(before.st_mtime, opened.st_mtime)
232 self.assertLess(written.st_mtime, closed.st_mtime)
250 self.assertLess(before.st_mtime, opened.st_mtime)
326 self.assertLess(written.st_mtime, closed.st_mtime)
347 self.assertLess(before.st_mtime, opened.st_mtime)
447 self.assertLess(before.st_mtime, opened.st_mtime)
/external/tensorflow/tensorflow/examples/adding_an_op/
Dzero_out_2_test.py51 self.assertLess(err, 1e-4)
60 self.assertLess(err, 1e-4)
/external/python/cpython2/Lib/bsddb/test/
Dtest_dbenv.py154 self.assertLess(self.env.get_lg_bsize(), 4*log_size)
442 self.assertLess((1, 1), v[0])
450 self.assertLess(lsn_first, v[0])
459 self.assertLess(lsn_first, v[0])
477 self.assertLess(lsn_first, v[0])
481 self.assertLess(v2[0], v[0])
482 self.assertLess(lsn_first, v2[0])
485 self.assertLess(v3[0], v2[0])
486 self.assertLess(lsn_first, v3[0])
/external/tensorflow/tensorflow/python/keras/layers/preprocessing/
Dpreprocessing_stage_test.py79 self.assertLess(stage.layers[0].adapt_time, stage.layers[1].adapt_time)
80 self.assertLess(stage.layers[1].adapt_time, stage.layers[2].adapt_time)
/external/tensorflow/tensorflow/python/keras/distribute/
Dkeras_premade_models_test.py80 self.assertLess(hist.history['loss'][4], 0.2)
98 self.assertLess(hist.history['loss'][4], 0.2)
/external/python/apitools/apitools/base/py/
Dcompression_test.py48 self.assertLess(output.length, self.length)
64 self.assertLess(output.length, self.length)
/external/tensorflow/tensorflow/python/kernel_tests/distributions/
Dexponential_test.py148 self.assertLess(
169 self.assertLess(
172 self.assertLess(

12345678910