Searched refs:sorted_value (Results 1 – 2 of 2) sorted by relevance
/external/igt-gpu-tools/lib/ |
D | igt_stats.c | 34 #define sorted_value(stats, i) (stats->is_float ? stats->sorted_f[i] : stats->sorted_u64[i]) macro 386 median = sorted_value(stats, mid); in igt_stats_get_median_internal() 402 median = (sorted_value(stats, mid) + sorted_value(stats, mid+1))/2.; in igt_stats_get_median_internal() 578 mean += (sorted_value(stats, q1 + i) - mean) / (i + 1); in igt_stats_get_iqm() 586 mean += rem * (sorted_value(stats, q1) - mean) / i++; in igt_stats_get_iqm() 587 mean += rem * (sorted_value(stats, q3) - mean) / i++; in igt_stats_get_iqm()
|
/external/tensorflow/tensorflow/python/ops/ |
D | nn_test.py | 325 sorted_value = np.unique(np.sort(value)) 326 self.assertEqual(0, sorted_value[0]) 327 self.assertAllClose(1 / keep_prob, sorted_value[1]) 352 sorted_value = np.unique(np.sort(value)) 353 self.assertEqual(0, sorted_value[0]) 354 self.assertAllClose(1 / keep_prob, sorted_value[1]) 375 sorted_value = np.unique(np.sort(value[i, :])) 376 self.assertEqual(sorted_value.size, 1) 398 sorted_value = np.unique(np.sort(value)) 399 self.assertEqual(0, sorted_value[0]) [all …]
|