Home
last modified time | relevance | path

Searched refs:assertLessEqual (Results 1 – 25 of 85) sorted by relevance

1234

/external/tensorflow/tensorflow/python/keras/_impl/keras/preprocessing/
Dtext_test.py33 self.assertLessEqual(np.max(encoded), 4)
40 self.assertLessEqual(np.max(encoded), 4)
68 self.assertLessEqual(np.max(encoded), 4)
76 self.assertLessEqual(np.max(encoded), 4)
/external/tensorflow/tensorflow/python/framework/
Dversions_test.py42 self.assertLessEqual(0, min_consumer)
43 self.assertLessEqual(0, min_producer)
44 self.assertLessEqual(min_producer, version)
Dtensor_shape_test.py48 self.assertLessEqual(tensor_shape.Dimension(12), tensor_shape.Dimension(12))
49 self.assertLessEqual(tensor_shape.Dimension(12), tensor_shape.Dimension(13))
/external/python/cpython2/Lib/unittest/test/
Dtest_case.py815 self.assertLessEqual(1, 2)
816 self.assertLessEqual(1, 1)
822 self.assertRaises(self.failureException, self.assertLessEqual, 2, 1)
829 self.assertLessEqual(1.0, 1.1)
830 self.assertLessEqual(1.0, 1.0)
836 self.assertRaises(self.failureException, self.assertLessEqual, 1.1, 1.0)
843 self.assertLessEqual('ant', 'bug')
844 self.assertLessEqual('ant', 'ant')
850 self.assertRaises(self.failureException, self.assertLessEqual, 'bug', 'ant')
857 self.assertLessEqual(u'ant', u'bug')
[all …]
/external/tensorflow/tensorflow/contrib/learn/python/learn/datasets/
Dbase_test.py43 self.assertLessEqual(abs(actual - expected), 0.25 * expected)
64 self.assertLessEqual(abs(actual - expected), 0.25 * expected)
/external/tensorflow/tensorflow/contrib/solvers/python/kernel_tests/
Dleast_squares_test.py66 self.assertLessEqual(norm_s, tol * norm_s0)
71 self.assertLessEqual(norm_s_np, tol * norm_s0)
Dlinear_equations_test.py95 self.assertLessEqual(norm_r, tol * norm_r0)
100 self.assertLessEqual(norm_r_np, tol * norm_r0)
/external/python/cpython2/Lib/test/
Dtest_struct.py175 self.assertLessEqual(2, struct.calcsize('h'))
176 self.assertLessEqual(4, struct.calcsize('l'))
177 self.assertLessEqual(struct.calcsize('h'), struct.calcsize('i'))
178 self.assertLessEqual(struct.calcsize('i'), struct.calcsize('l'))
183 self.assertLessEqual(8, struct.calcsize('q'))
184 self.assertLessEqual(struct.calcsize('l'), struct.calcsize('q'))
Dtest_fnmatch.py65 self.assertLessEqual(len(_cache), _MAXCACHE)
Dtest_weakset.py447 self.assertLessEqual(n1, N)
449 self.assertLessEqual(n2, n1)
Dtest_genericpath.py99 self.assertLessEqual(
/external/tensorflow/tensorflow/python/kernel_tests/
Dattention_ops_test.py103 self.assertLessEqual(value_rows[0][i][j][0], max_random_val)
105 self.assertLessEqual(value_cols[0][i][j][0], max_random_val)
Dcandidate_sampler_ops_test.py129 self.assertLessEqual(num_same, 2)
/external/python/cpython3/Lib/unittest/test/
Dtest_case.py1025 self.assertLessEqual(1, 2)
1026 self.assertLessEqual(1, 1)
1032 self.assertRaises(self.failureException, self.assertLessEqual, 2, 1)
1039 self.assertLessEqual(1.0, 1.1)
1040 self.assertLessEqual(1.0, 1.0)
1046 self.assertRaises(self.failureException, self.assertLessEqual, 1.1, 1.0)
1053 self.assertLessEqual('ant', 'bug')
1054 self.assertLessEqual('ant', 'ant')
1060 self.assertRaises(self.failureException, self.assertLessEqual, 'bug', 'ant')
1067 self.assertLessEqual(b'ant', b'bug')
[all …]
/external/python/cpython3/Lib/test/
Dtest_struct.py159 self.assertLessEqual(2, struct.calcsize('h'))
160 self.assertLessEqual(4, struct.calcsize('l'))
161 self.assertLessEqual(struct.calcsize('h'), struct.calcsize('i'))
162 self.assertLessEqual(struct.calcsize('i'), struct.calcsize('l'))
163 self.assertLessEqual(8, struct.calcsize('q'))
164 self.assertLessEqual(struct.calcsize('l'), struct.calcsize('q'))
Dtest_time.py85 self.assertLessEqual(a, b)
92 self.assertLessEqual(res, 1.0)
502 self.assertLessEqual(info.resolution, 1.0)
Dtest_numeric_tower.py173 self.assertLessEqual(first, second)
Dtest_nntplib.py103 self.assertLessEqual(first, last)
111 self.assertLessEqual(date.year, 2030)
132 self.assertLessEqual(art_num, last)
149 self.assertLessEqual(art_num, last)
Dtest_tracemalloc.py107 self.assertLessEqual(size2, size)
196 self.assertLessEqual(size - obj_size, max_error)
197 self.assertLessEqual(peak_size - size, max_error)
Dtest_weakset.py433 self.assertLessEqual(n1, N)
435 self.assertLessEqual(n2, n1)
/external/chromium-trace/catapult/common/py_trace_event/py_trace_event/
Dtrace_event_unittest.py312 self.assertLessEqual(one_open['ts'], two_open['ts'])
349 self.assertLessEqual(one_open['ts'], two_open['ts'])
350 self.assertLessEqual(one_close['ts'], two_close['ts'])
Dtrace_time_unittest.py117 self.assertLessEqual(time_one, time_two)
/external/tensorflow/tensorflow/contrib/gan/python/features/python/
Drandom_tensor_pool_test.py55 self.assertLessEqual(out, i)
/external/python/cpython3/Lib/idlelib/idle_test/
Dtest_undo.py132 self.assertLessEqual(len(self.delegator.undolist), max_undo)
/external/tensorflow/tensorflow/python/grappler/
Dcluster_test.py81 self.assertLessEqual(1, len(peak_mem))

1234