Searched refs:assertLessEqual (Results 1 – 25 of 85) sorted by relevance
1234
/external/tensorflow/tensorflow/python/keras/_impl/keras/preprocessing/ |
D | text_test.py | 33 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/ |
D | versions_test.py | 42 self.assertLessEqual(0, min_consumer) 43 self.assertLessEqual(0, min_producer) 44 self.assertLessEqual(min_producer, version)
|
D | tensor_shape_test.py | 48 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/ |
D | test_case.py | 815 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/ |
D | base_test.py | 43 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/ |
D | least_squares_test.py | 66 self.assertLessEqual(norm_s, tol * norm_s0) 71 self.assertLessEqual(norm_s_np, tol * norm_s0)
|
D | linear_equations_test.py | 95 self.assertLessEqual(norm_r, tol * norm_r0) 100 self.assertLessEqual(norm_r_np, tol * norm_r0)
|
/external/python/cpython2/Lib/test/ |
D | test_struct.py | 175 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'))
|
D | test_fnmatch.py | 65 self.assertLessEqual(len(_cache), _MAXCACHE)
|
D | test_weakset.py | 447 self.assertLessEqual(n1, N) 449 self.assertLessEqual(n2, n1)
|
D | test_genericpath.py | 99 self.assertLessEqual(
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | attention_ops_test.py | 103 self.assertLessEqual(value_rows[0][i][j][0], max_random_val) 105 self.assertLessEqual(value_cols[0][i][j][0], max_random_val)
|
D | candidate_sampler_ops_test.py | 129 self.assertLessEqual(num_same, 2)
|
/external/python/cpython3/Lib/unittest/test/ |
D | test_case.py | 1025 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/ |
D | test_struct.py | 159 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'))
|
D | test_time.py | 85 self.assertLessEqual(a, b) 92 self.assertLessEqual(res, 1.0) 502 self.assertLessEqual(info.resolution, 1.0)
|
D | test_numeric_tower.py | 173 self.assertLessEqual(first, second)
|
D | test_nntplib.py | 103 self.assertLessEqual(first, last) 111 self.assertLessEqual(date.year, 2030) 132 self.assertLessEqual(art_num, last) 149 self.assertLessEqual(art_num, last)
|
D | test_tracemalloc.py | 107 self.assertLessEqual(size2, size) 196 self.assertLessEqual(size - obj_size, max_error) 197 self.assertLessEqual(peak_size - size, max_error)
|
D | test_weakset.py | 433 self.assertLessEqual(n1, N) 435 self.assertLessEqual(n2, n1)
|
/external/chromium-trace/catapult/common/py_trace_event/py_trace_event/ |
D | trace_event_unittest.py | 312 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'])
|
D | trace_time_unittest.py | 117 self.assertLessEqual(time_one, time_two)
|
/external/tensorflow/tensorflow/contrib/gan/python/features/python/ |
D | random_tensor_pool_test.py | 55 self.assertLessEqual(out, i)
|
/external/python/cpython3/Lib/idlelib/idle_test/ |
D | test_undo.py | 132 self.assertLessEqual(len(self.delegator.undolist), max_undo)
|
/external/tensorflow/tensorflow/python/grappler/ |
D | cluster_test.py | 81 self.assertLessEqual(1, len(peak_mem))
|
1234