Home
last modified time | relevance | path

Searched refs:assertGreater (Results 1 – 25 of 208) sorted by relevance

123456789

/external/tensorflow/tensorflow/python/profiler/
Dprofiler_test.py157 self.assertGreater(lib.SearchTFProfNode(pb1, 'Conv2D').exec_micros, 0)
159 self.assertGreater(lib.SearchTFProfNode(pb2, 'Conv2D_1').exec_micros, 0)
161 self.assertGreater(lib.SearchTFProfNode(pb3, 'add').exec_micros, 0)
170 self.assertGreater(len(checker.reports), 0)
174 self.assertGreater(len(checker.reports), 0)
217 self.assertGreater(n2.exec_micros, 0)
218 self.assertGreater(n2.requested_bytes, 0)
219 self.assertGreater(n2.peak_bytes, 0)
220 self.assertGreater(n2.residual_bytes, 0)
Dmodel_analyzer_test.py118 self.assertGreater(float(mat.group(1)), 0.0)
119 self.assertGreater(float(mat.group(2)), 0.0)
129 self.assertGreater(float(mat.group(1)), 0.0)
130 self.assertGreater(float(mat.group(2)), 0.0)
139 self.assertGreater(float(mat.group(1)), 0.0)
140 self.assertGreater(float(mat.group(2)), 0.0)
233 self.assertGreater(len(lines), 5)
388 self.assertGreater(input_shapes, 0)
411 self.assertGreater(len(checker.reports), 0)
415 self.assertGreater(len(checker.reports), 0)
[all …]
/external/bcc/tests/python/
Dtest_percpu.py52 self.assertGreater(sum.value, int(0))
53 self.assertGreater(max.value, int(0))
82 self.assertGreater(sum.value, int(0))
83 self.assertGreater(max.value, int(0))
115 self.assertGreater(k.c1, int(0))
Dtest_array.py48 self.assertGreater(size, ct.sizeof(Data))
53 self.assertGreater(lost, 0)
71 self.assertGreater(self.counter, 0)
81 self.assertGreater(size, ct.sizeof(Data))
86 self.assertGreater(lost, 0)
Dtest_xlate1.py50 self.assertGreater(leaf.ip_xlated_pkts, 0)
51 self.assertGreater(leaf.arp_xlated_pkts, 0)
53 self.assertGreater(leaf.ip_xlated_pkts, 0)
54 self.assertGreater(leaf.arp_xlated_pkts, 0)
Dtest_call1.py43 self.assertGreater(self.stats[c_int(S_IP)].value, 0)
44 self.assertGreater(self.stats[c_int(S_ARP)].value, 0)
45 self.assertGreater(self.stats[c_int(S_EOP)].value, 1)
Dtest_lru.py55 self.assertGreater(sum.value, 0L)
56 self.assertGreater(max.value, 0L)
/external/python/cpython2/Lib/ctypes/test/
Dtest_refcounts.py27 self.assertGreater(grc(callback), 2)
46 self.assertGreater(grc(func), 2)
62 self.assertGreater(grc(func), 2)
75 self.assertGreater(grc(func), 2)
/external/python/cpython3/Lib/ctypes/test/
Dtest_refcounts.py29 self.assertGreater(grc(callback), 2)
49 self.assertGreater(grc(func), 2)
65 self.assertGreater(grc(func), 2)
78 self.assertGreater(grc(func), 2)
/external/python/cpython2/Lib/unittest/test/
Dtest_case.py620 self.assertGreater(len(msg), len(diff))
630 self.assertGreater(len(msg), len(diff))
811 self.assertGreater(2, 1)
817 self.assertRaises(self.failureException, self.assertGreater, 1, 2)
818 self.assertRaises(self.failureException, self.assertGreater, 1, 1)
825 self.assertGreater(1.1, 1.0)
831 self.assertRaises(self.failureException, self.assertGreater, 1.0, 1.1)
832 self.assertRaises(self.failureException, self.assertGreater, 1.0, 1.0)
839 self.assertGreater('bug', 'ant')
845 self.assertRaises(self.failureException, self.assertGreater, 'ant', 'bug')
[all …]
/external/tensorflow/tensorflow/python/client/
Ddevice_lib_test.py32 self.assertGreater(len(devices), 0)
36 self.assertGreater(len(devices), 0)
41 self.assertGreater(len(devices), 1)
/external/tensorflow/tensorflow/contrib/training/python/training/
Dtraining_test.py398 self.assertGreater(loss, .5)
478 self.assertGreater(loss, .015)
502 self.assertGreater(loss, .015)
544 self.assertGreater(np.linalg.norm(weights_values), 0)
549 self.assertGreater(loss, .5)
553 self.assertGreater(np.linalg.norm(weights_values - new_weights), 0)
554 self.assertGreater(np.linalg.norm(biases_values - new_biases), 0)
560 self.assertGreater(loss, .5)
564 self.assertGreater(np.linalg.norm(weights_values - new_weights), 0)
570 self.assertGreater(loss, .5)
[all …]
/external/tensorflow/tensorflow/contrib/gan/python/features/python/
Dspectral_normalization_test.py67 self.assertGreater(
69 self.assertGreater(
71 self.assertGreater(abs(np_true_sn - np_est_1), abs(np_true_sn - np_est_5))
102 self.assertGreater(abs(s10 - 1.), abs(s50 - 1.))
103 self.assertGreater(abs(s5 - 1.), abs(s10 - 1.))
104 self.assertGreater(abs(s1 - 1.), abs(s5 - 1.))
105 self.assertGreater(abs(s0 - 1.), abs(s1 - 1.))
/external/tensorflow/tensorflow/python/profiler/internal/
Drun_metadata_test.py124 self.assertGreater(tfprof_node.children[0].exec_micros, 10)
145 self.assertGreater(mm_allocs[1].alloc_micros, mm_allocs[0].alloc_micros)
146 self.assertGreater(mm_allocs[0].alloc_bytes, 0)
158 self.assertGreater(random_allocs[1].alloc_micros, mm.all_start_micros)
166 self.assertGreater(tfprof_node.children[0].exec_micros, 0)
/external/tensorflow/tensorflow/contrib/slim/python/slim/data/
Dparallel_reader_test.py73 self.assertGreater(count0, 0)
74 self.assertGreater(count1, 0)
75 self.assertGreater(count2, 0)
181 self.assertGreater(flowers, 0)
225 self.assertGreater(flowers, 0)
/external/tensorflow/tensorflow/python/framework/
Dkernels_test.py29 self.assertGreater(len(kernel_list.kernel), 0)
36 self.assertGreater(len(kernel_list.kernel), 0)
/external/tensorflow/tensorflow/contrib/learn/python/learn/estimators/
Dlinear_test.py141 self.assertGreater(scores['accuracy'], 0.9)
162 self.assertGreater(scores['accuracy'], 0.9)
175 self.assertGreater(scores['accuracy'], 0.9)
207 self.assertGreater(scores['accuracy'], 0.9)
238 self.assertGreater(scores['accuracy'], 0.9)
264 self.assertGreater(scores['accuracy'], 0.9)
284 self.assertGreater(scores['accuracy'], 0.9)
296 self.assertGreater(scores['accuracy'], 0.9)
329 self.assertGreater(scores['accuracy'], 0.9)
345 self.assertGreater(scores['accuracy'], 0.9)
[all …]
/external/python/cpython2/Lib/bsddb/test/
Dtest_dbenv.py58 self.assertGreater(2*size, size2[1])
132 self.assertGreater(2*i, j)
375 self.assertGreater(self.env.memp_trickle(100), 0)
443 self.assertGreater(len(v[1]), 0)
460 self.assertGreater(lsn_last, v[0])
463 self.assertGreater(v2[0], v[0])
464 self.assertGreater(lsn_last, v2[0])
467 self.assertGreater(v3[0], v2[0])
468 self.assertGreater(lsn_last, v3[0])
478 self.assertGreater(lsn_last, v[0])
/external/tensorflow/tensorflow/python/keras/
Dintegration_test.py60 self.assertGreater(history.history['val_acc'][-1], 0.7)
99 self.assertGreater(history.history['val_acc'][-1], 0.7)
134 self.assertGreater(history.history['val_acc'][-1], 0.7)
163 self.assertGreater(history.history['val_acc'][-1], 0.7)
201 self.assertGreater(history.history['val_acc'][-1], 0.7)
/external/tensorflow/tensorflow/contrib/kernel_methods/python/
Dkernel_estimators_test.py102 self.assertGreater(logreg_prob_predictions[0][1], 0.5)
103 self.assertGreater(logreg_prob_predictions[1][0], 0.5)
104 self.assertGreater(logreg_prob_predictions[2][1], 0.5)
265 self.assertGreater(kernel_linear_accuracy, linear_accuracy)
/external/tensorflow/tensorflow/contrib/learn/python/learn/learn_io/
Dio_test.py49 self.assertGreater(score, 0.5, "Failed with score = {0}".format(score))
65 self.assertGreater(score, 0.5, "Failed with score = {0}".format(score))
121 self.assertGreater(score, 0.5, "Failed with score = {0}".format(score))
/external/tensorflow/tensorflow/contrib/image/python/kernel_tests/
Dsegmentation_test.py95 self.assertGreater(bins[0], 0)
96 self.assertGreater(bins[1], 0)
97 self.assertGreater(bins[2], 0)
/external/fonttools/Tests/subset/
Dsubset_test.py495 self.assertGreater(font["glyf"]["A"].numberOfContours, 0)
496 self.assertGreater(font["glyf"]["B"].numberOfContours, 0)
517 self.assertGreater(glyf["A"].numberOfContours, 0)
529 self.assertGreater(len(cs["A"].program), 0)
530 self.assertGreater(len(cs["B"].program), 0)
552 self.assertGreater(len(cs["A"].program), 0)
564 self.assertGreater(len(cs["A"].program), 0)
565 self.assertGreater(len(cs["T"].program), 0)
586 self.assertGreater(len(cs["A"].program), 0)
/external/tensorflow/tensorflow/contrib/slim/python/slim/
Dlearning_test.py732 self.assertGreater(loss, .5)
780 self.assertGreater(loss, .5)
834 self.assertGreater(loss, .015)
849 self.assertGreater(loss, .015)
885 self.assertGreater(np.linalg.norm(weights_values), 0)
890 self.assertGreater(loss, .5)
894 self.assertGreater(np.linalg.norm(weights_values - new_weights), 0)
895 self.assertGreater(np.linalg.norm(biases_values - new_biases), 0)
901 self.assertGreater(loss, .5)
905 self.assertGreater(np.linalg.norm(weights_values - new_weights), 0)
[all …]
/external/tensorflow/tensorflow/python/ops/
Dinit_ops_test.py49 self.assertGreater(lim, abs(output.std() - target_std))
51 self.assertGreater(lim, abs(output.mean() - target_mean))
53 self.assertGreater(lim, abs(output.max() - target_max))
55 self.assertGreater(lim, abs(output.min() - target_min))

123456789