Home
last modified time | relevance | path

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

12345678910

/external/python/cpython3/Lib/test/
Dtest_platform.py298 self.assertLess(V('1.2.3'), V('1.2.10'))
300 self.assertLess(V('1.2spam'), V('1.2dev'))
301 self.assertLess(V('1.2dev'), V('1.2alpha'))
302 self.assertLess(V('1.2dev'), V('1.2a'))
303 self.assertLess(V('1.2alpha'), V('1.2beta'))
304 self.assertLess(V('1.2a'), V('1.2b'))
305 self.assertLess(V('1.2beta'), V('1.2c'))
306 self.assertLess(V('1.2b'), V('1.2c'))
307 self.assertLess(V('1.2c'), V('1.2RC'))
308 self.assertLess(V('1.2c'), V('1.2rc'))
[all …]
/external/tensorflow/tensorflow/python/ops/
Dmath_grad_test.py59 self.assertLess(left_err, 1e-10)
60 self.assertLess(right_err, 1e-10)
92 self.assertLess(error, max_error)
117 self.assertLess(error, 1e-4)
125 self.assertLess(error, 1e-4)
136 self.assertLess(error, 1e-4)
144 self.assertLess(error, 1e-4)
158 self.assertLess(error, 1e-4)
169 self.assertLess(error, 1e-4)
181 self.assertLess(error, 1e-4)
[all …]
Dgradient_checker_test.py151 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)
305 self.assertLess(self._BuildAndTestMiniMNIST(3, "softmax_weight"), 1e-8)
309 self.assertLess(self._BuildAndTestMiniMNIST(4, "softmax_bias"), 1e-8)
Dgradient_checker_v2_test.py115 self.assertLess(
131 self.assertLess(
284 self.assertLess(self._BuildAndTestMiniMNIST(0, "input"), 1e-8)
287 self.assertLess(self._BuildAndTestMiniMNIST(1, "hidden_weight"), 1e-8)
290 self.assertLess(self._BuildAndTestMiniMNIST(2, "hidden_bias"), 1e-8)
293 self.assertLess(self._BuildAndTestMiniMNIST(3, "softmax_weight"), 1e-8)
296 self.assertLess(self._BuildAndTestMiniMNIST(4, "softmax_bias"), 1e-8)
Dimage_grad_test.py67 self.assertLess(err, 1e-3)
83 self.assertLess(err, 1e-3)
137 self.assertLess(err, 1e-3)
151 self.assertLess(err, 1e-3)
231 self.assertLess(err, 1e-3)
247 self.assertLess(err, 1e-3)
297 self.assertLess(err, 1e-3)
456 self.assertLess(err, 2e-3)
Dnn_fused_batchnorm_test.py237 self.assertLess(err_x, x_err_tolerance)
238 self.assertLess(err_scale, scale_err_tolerance)
239 self.assertLess(err_offset, scale_err_tolerance)
334 self.assertLess(err_grad_grad_y_1, err_tolerance)
335 self.assertLess(err_grad_grad_y_2, err_tolerance)
336 self.assertLess(err_grad_grad_y_3, err_tolerance)
338 self.assertLess(err_grad_x_1, err_tolerance)
339 self.assertLess(err_grad_x_2, err_tolerance)
340 self.assertLess(err_grad_scale, err_tolerance)
Dnn_grad_test.py51 self.assertLess(error, 1e-4)
62 self.assertLess(error, 1e-3)
113 self.assertLess(error, 1e-3)
/external/tensorflow/tensorflow/python/kernel_tests/
Drelu_op_test.py119 self.assertLess(err, 1e-4)
168 self.assertLess(err, 1e-10)
187 self.assertLess(err, 1e-4)
206 self.assertLess(err, 1e-10)
267 self.assertLess(err, 1e-4)
278 self.assertLess(err, 1e-10)
329 self.assertLess(err, 1e-4)
340 self.assertLess(err, 1e-10)
360 self.assertLess(err, 1e-4)
380 self.assertLess(err, 1e-10)
[all …]
Dbroadcast_to_ops_test.py138 self.assertLess(err, 1e-4)
149 self.assertLess(err, 1e-4)
160 self.assertLess(err, 1e-4)
170 self.assertLess(err, 1e-4)
183 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)
/external/tensorflow/tensorflow/contrib/opt/python/training/
Dmoving_average_optimizer_test.py198 self.assertLess(val0[i], avg_val0[i])
199 self.assertLess(avg_val0[i], orig_val0[i])
200 self.assertLess(val1[i], avg_val1[i])
201 self.assertLess(avg_val1[i], orig_val1[i])
218 self.assertLess(val0[i], avg_val0[i])
219 self.assertLess(avg_val0[i], orig_val0[i])
220 self.assertLess(val1[i], avg_val1[i])
221 self.assertLess(avg_val1[i], orig_val1[i])
/external/tensorflow/tensorflow/python/debug/lib/
Dstepper_test.py74 self.assertLess(sorted_nodes.index("a"), sorted_nodes.index("a/read"))
75 self.assertLess(sorted_nodes.index("b"), sorted_nodes.index("b/read"))
76 self.assertLess(sorted_nodes.index("a"), sorted_nodes.index("c"))
77 self.assertLess(sorted_nodes.index("b"), sorted_nodes.index("c"))
78 self.assertLess(sorted_nodes.index("a"), sorted_nodes.index("d"))
79 self.assertLess(sorted_nodes.index("d"), sorted_nodes.index("e"))
80 self.assertLess(sorted_nodes.index("c"), sorted_nodes.index("e"))
393 self.assertLess(sorted_nodes.index("x"), sorted_nodes.index("x/read"))
394 self.assertLess(sorted_nodes.index("x"), sorted_nodes.index("y"))
395 self.assertLess(sorted_nodes.index("x"), sorted_nodes.index("z"))
[all …]
/external/tensorflow/tensorflow/compiler/tests/
Dsvd_op_test.py56 self.assertLess(np.linalg.norm(u_diff), 1e-2)
57 self.assertLess(np.linalg.norm(v_diff), 1e-2)
60 self.assertLess(np.linalg.norm(s_val - s_np), 1e-2)
65 self.assertLess(
/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/tensorflow/tensorflow/contrib/learn/python/learn/estimators/
Dlinear_test.py101 self.assertLess(loss2, loss1)
102 self.assertLess(loss2, 0.01)
127 self.assertLess(loss2, loss1)
128 self.assertLess(loss2, 0.01)
505 self.assertLess(loss, 0.07)
621 self.assertLess(loss_weighted, loss_unweighted)
711 self.assertLess(loss_no_reg, loss_with_reg)
730 self.assertLess(loss, 0.07)
753 self.assertLess(loss, 0.05)
777 self.assertLess(loss, 0.05)
[all …]
Dcomposable_model_test.py141 self.assertLess(loss2, loss1)
142 self.assertLess(loss2, 0.01)
167 self.assertLess(loss2, loss1)
168 self.assertLess(loss2, 0.01)
/external/tensorflow/tensorflow/contrib/linear_optimizer/python/
Dsdca_estimator_test.py62 self.assertLess(loss, 0.05)
84 self.assertLess(loss, 0.05)
204 self.assertLess(metrics['loss'], 0.060)
349 self.assertLess(loss, 0.01)
393 self.assertLess(loss, 0.05)
435 self.assertLess(loss, 0.05)
492 self.assertLess(no_l1_reg_loss, l1_reg_loss)
493 self.assertLess(no_l1_reg_loss, 0.05)
505 self.assertLess(l1_reg_weights_norm, no_l1_reg_weights_norm)
/external/tensorflow/tensorflow/python/debug/cli/
Dstepper_cli_test.py165 self.assertLess(node_names.index("a"), node_names.index("a/read"))
166 self.assertLess(node_names.index("b"), node_names.index("b/read"))
167 self.assertLess(node_names.index("a/read"), node_names.index("c"))
168 self.assertLess(node_names.index("b/read"), node_names.index("c"))
169 self.assertLess(node_names.index("a/read"), node_names.index("d"))
170 self.assertLess(node_names.index("c"), node_names.index("d"))
171 self.assertLess(node_names.index("c"), node_names.index("e"))
172 self.assertLess(node_names.index("d"), node_names.index("e"))
178 self.assertLess(node_names.index("ph"), node_names.index("f"))
179 self.assertLess(node_names.index("e"), node_names.index("f"))
/external/tensorflow/tensorflow/contrib/memory_stats/python/kernel_tests/
Dmemory_stats_ops_test.py41 self.assertLess(0, bytes_limit)
71 self.assertLess(max_bytes_in_use, matrix_size_in_bytes * 4)
87 self.assertLess(bytes_in_use, matrix_size_in_bytes * 2)
/external/tensorflow/tensorflow/contrib/training/python/training/
Dtraining_test.py256 self.assertLess(loss, .1)
291 self.assertLess(loss, .015)
314 self.assertLess(loss, .015)
348 self.assertLess(loss, .015)
416 self.assertLess(loss, .02)
442 self.assertLess(loss, .02)
479 self.assertLess(loss, .05)
503 self.assertLess(loss, .05)
522 self.assertLess(loss, .015)
618 self.assertLess(loss1, .5)
/external/tensorflow/tensorflow/contrib/slim/python/slim/
Dlearning_test.py258 self.assertLess(loss, .1)
446 self.assertLess(loss, .015)
465 self.assertLess(loss, .015)
489 self.assertLess(loss, .015)
649 self.assertLess(loss, .015)
672 self.assertLess(loss, .015)
699 self.assertLess(loss, .015)
741 self.assertLess(loss, .02)
767 self.assertLess(loss, .02)
789 self.assertLess(loss, .015)
[all …]
/external/tensorflow/tensorflow/contrib/kernel_methods/python/
Dkernel_estimators_test.py94 self.assertLess(metrics['loss'], 0.1)
127 self.assertLess(logreg_accuracy, 0.8)
146 self.assertLess(kernelized_logreg_loss, 0.2)
264 self.assertLess(kernel_linear_loss, linear_loss)
/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/examples/adding_an_op/
Dzero_out_2_test.py51 self.assertLess(err, 1e-4)
60 self.assertLess(err, 1e-4)
/external/tensorflow/tensorflow/contrib/distributions/python/kernel_tests/
Dstatistical_testing_test.py104 self.assertLess(d, 0.1)
113 self.assertLess(low, 0.5)
115 self.assertLess(high, 0.6)
174 self.assertLess(d, 0.2)

12345678910