HomeSort by relevance Sort by last modified time
    Searched refs:places (Results 1 - 25 of 108) sorted by null

1 2 3 4 5

  /external/tensorflow/tensorflow/contrib/boosted_trees/estimator_batch/
custom_export_strategy_test.py 356 self.assertAlmostEqual(50.0, feature_importances["feature_b"], places=4)
357 self.assertAlmostEqual(50.0, feature_importances["feature_a_0"], places=4)
358 self.assertAlmostEqual(50.0, feature_importances["feature_d"], places=4)
360 360.0, feature_importances["feature_a_m_3"], places=4)
  /external/clang/test/CXX/temp/temp.param/
p15-cxx0x.cpp 60 template<place...> struct places {}; struct in namespace:ParameterPackExpansions
64 struct append_places<places<X1...>, places<X2...>> {
65 typedef places<X1...,X2...> type;
71 template<> struct make_places<0> { typedef places<> type; };
72 template<> struct make_places<1> { typedef places<_> type; };
79 template<place...X> struct takedrop_impl<places<X...>> {
  /external/tensorflow/tensorflow/contrib/learn/python/learn/estimators/
svm_test.py 53 self.assertAlmostEqual(loss, 0.0, places=3)
54 self.assertAlmostEqual(accuracy, 1.0, places=3)
82 self.assertAlmostEqual(accuracy, 1.0, places=3)
109 self.assertAlmostEqual(accuracy, 1.0, places=3)
137 self.assertAlmostEqual(accuracy, 1.0, places=3)
164 self.assertAlmostEqual(loss, 1.0, places=3)
165 self.assertAlmostEqual(accuracy, 1 / 3, places=3)
192 self.assertAlmostEqual(accuracy, 1.0, places=3)
216 self.assertAlmostEqual(accuracy, 1.0, places=3)
255 self.assertAlmostEqual(accuracy, 1.0, places=3
    [all...]
  /external/tensorflow/tensorflow/python/ops/ragged/
ragged_test_util.py 59 def assertRaggedAlmostEqual(self, a, b, places=7):
62 self.assertNestedListAlmostEqual(a_list, b_list, places, context='value')
69 def assertNestedListAlmostEqual(self, a, b, places=7, context='value'):
74 self.assertNestedListAlmostEqual(a[i], b[i], places,
78 a, b, places,
79 '%s != %s within %s places at %s' % (a, b, places, context))
  /external/tensorflow/tensorflow/contrib/opt/python/training/
sign_decay_test.py 72 self.assertAlmostEqual(tf_decayed, py_decayed, places=4)
84 self.assertAlmostEqual(tf_decayed, py_decayed, places=4)
89 self.assertAlmostEqual(tf_decayed, py_decayed, places=4)
101 self.assertAlmostEqual(tf_decayed, py_decayed, places=4)
106 self.assertAlmostEqual(tf_decayed, py_decayed, places=4)
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/unittest/test/
test_assertions.py 15 self.assertAlmostEqual(1.1, 1.0, places=0)
17 self.assertAlmostEqual, 1.1, 1.0, places=1)
19 self.assertAlmostEqual(0, .1+.1j, places=0)
20 self.assertNotAlmostEqual(0, .1+.1j, places=1)
22 self.assertAlmostEqual, 0, .1+.1j, places=1)
24 self.assertNotAlmostEqual, 0, .1+.1j, places=0)
42 1.1, 1.0, places=2, delta=2)
44 1.1, 1.0, places=2, delta=2)
183 ["^1 != 2 within 7 places$", "^oops$",
184 "^1 != 2 within 7 places$", "^1 != 2 within 7 places : oops$"])
    [all...]
  /external/python/cpython2/Lib/unittest/test/
test_assertions.py 15 self.assertAlmostEqual(1.1, 1.0, places=0)
17 self.assertAlmostEqual, 1.1, 1.0, places=1)
19 self.assertAlmostEqual(0, .1+.1j, places=0)
20 self.assertNotAlmostEqual(0, .1+.1j, places=1)
22 self.assertAlmostEqual, 0, .1+.1j, places=1)
24 self.assertNotAlmostEqual, 0, .1+.1j, places=0)
46 1.1, 1.0, places=2, delta=2)
48 1.1, 1.0, places=2, delta=2)
187 ["^1 != 2 within 7 places$", "^oops$",
188 "^1 != 2 within 7 places$", "^1 != 2 within 7 places : oops$"]
    [all...]
  /external/tensorflow/tensorflow/python/layers/
normalization_test.py 337 self.assertAlmostEqual(np.mean(normed_np_output), 0., places=1)
338 self.assertAlmostEqual(np.std(normed_np_output), 1., places=1)
355 self.assertAlmostEqual(np.mean(normed_np_output), 0., places=1)
356 self.assertAlmostEqual(np.std(normed_np_output), 1., places=1)
378 self.assertAlmostEqual(np.mean(normed_np_output), 0., places=1)
379 self.assertAlmostEqual(np.std(normed_np_output), 1., places=1)
396 self.assertAlmostEqual(np.mean(normed_np_output), 0., places=1)
397 self.assertAlmostEqual(np.std(normed_np_output), 1., places=1)
420 self.assertAlmostEqual(np.mean(normed_np_output), 0., places=1)
421 self.assertAlmostEqual(np.std(normed_np_output), 1., places=1
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
test_difflib.py 11 self.assertAlmostEqual(sm.ratio(), 0.995, places=3)
16 self.assertAlmostEqual(sm.ratio(), 0.995, places=3)
24 self.assertAlmostEqual(sm.ratio(), 0.994, places=3)
40 self.assertAlmostEqual(sm.ratio(), 0, places=3)
44 self.assertAlmostEqual(sm.ratio(), 0.9975, places=3)
  /external/python/cpython3/Lib/unittest/test/
test_assertions.py 17 self.assertAlmostEqual(1.1, 1.0, places=0)
19 self.assertAlmostEqual, 1.1, 1.0, places=1)
21 self.assertAlmostEqual(0, .1+.1j, places=0)
22 self.assertNotAlmostEqual(0, .1+.1j, places=1)
24 self.assertAlmostEqual, 0, .1+.1j, places=1)
26 self.assertNotAlmostEqual, 0, .1+.1j, places=0)
48 1.1, 1.0, places=2, delta=2)
50 1.1, 1.0, places=2, delta=2)
228 [r"^1 != 2 within 7 places \(1 difference\)$", "^oops$",
229 r"^1 != 2 within 7 places \(1 difference\)$"
    [all...]
  /external/tensorflow/tensorflow/contrib/predictor/
core_estimator_predictor_test.py 54 self.assertAlmostEqual(output, x + y, places=3)
75 expected_output, output, places=3,
saved_model_predictor_test.py 56 self.assertAlmostEqual(output, x + y, places=3)
78 expected_output, output, places=3,
121 expected_output, output, places=3,
148 expected_output, output, places=3,
contrib_estimator_predictor_test.py 64 expected_output, output, places=3,
  /external/libffi/src/arm/
gentramp.sh 96 // This places the first usable config value at _ffi_closure_trampoline_table-4080
  /external/python/cpython2/Modules/_ctypes/libffi/src/arm/
gentramp.sh 96 // This places the first usable config value at _ffi_closure_trampoline_table-4080
  /external/tensorflow/tensorflow/contrib/layers/python/layers/
target_column_test.py 50 places=3)
54 places=3)
166 self.assertAlmostEqual(8.6 / 12, sess.run(loss), places=3)
167 self.assertAlmostEqual(8.6 / 2, sess.run(training_loss), places=3)
  /external/python/cpython2/Lib/test/
test_difflib.py 11 self.assertAlmostEqual(sm.ratio(), 0.995, places=3)
16 self.assertAlmostEqual(sm.ratio(), 0.995, places=3)
24 self.assertAlmostEqual(sm.ratio(), 0.994, places=3)
40 self.assertAlmostEqual(sm.ratio(), 0, places=3)
44 self.assertAlmostEqual(sm.ratio(), 0.9975, places=3)
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/unittest/
case.py 521 def assertAlmostEqual(self, first, second, places=None, msg=None, delta=None):
523 difference rounded to the given number of decimal places
527 Note that decimal places (from zero) are usually not the same
536 if delta is not None and places is not None:
537 raise TypeError("specify delta or places not both")
547 if places is None:
548 places = 7
550 if round(abs(second-first), places) == 0:
553 standardMsg = '%s != %s within %r places' % (safe_repr(first),
555 places)
    [all...]
  /external/python/cpython2/Lib/unittest/
case.py 525 def assertAlmostEqual(self, first, second, places=None, msg=None, delta=None):
527 difference rounded to the given number of decimal places
532 Note that decimal places (from zero) are usually not the same
541 if delta is not None and places is not None:
542 raise TypeError("specify delta or places not both")
552 if places is None:
553 places = 7
555 if round(abs(second-first), places) == 0:
558 standardMsg = '%s != %s within %r places' % (safe_repr(first),
560 places)
    [all...]
  /external/tensorflow/tensorflow/contrib/metrics/python/metrics/
classification_test.py 214 self.assertAlmostEqual(2 * 0.5 * 1 / (1 + 0.5), f1.eval(), places=2)
228 self.assertAlmostEqual(1.0, f1.eval(), places=5)
242 self.assertAlmostEqual(1.0, f1.eval(), places=5)
252 self.assertAlmostEqual(0.0, f1.eval(), places=5)
  /external/tensorflow/tensorflow/security/advisory/
tfsa-2018-003.md 16 In particular, TOCO is not performing correct bounds checks in the following places:
  /external/python/cpython3/Lib/test/
test_difflib.py 11 self.assertAlmostEqual(sm.ratio(), 0.995, places=3)
17 self.assertAlmostEqual(sm.ratio(), 0.995, places=3)
26 self.assertAlmostEqual(sm.ratio(), 0.994, places=3)
55 self.assertAlmostEqual(sm.ratio(), 0, places=3)
60 self.assertAlmostEqual(sm.ratio(), 0.9975, places=3)
  /external/python/cpython3/Lib/ctypes/test/
test_byteswap.py 138 self.assertAlmostEqual(s.value, math.pi, places=6)
140 self.assertAlmostEqual(s.value, math.pi, places=6)
143 self.assertAlmostEqual(s.value, math.pi, places=6)
  /external/python/cpython3/Lib/unittest/
case.py 850 def assertAlmostEqual(self, first, second, places=None, msg=None,
853 difference rounded to the given number of decimal places
858 Note that decimal places (from zero) are usually not the same
    [all...]
  /external/skia/src/pdf/
SkPDFUtils.cpp 247 // return "x/pow(10, places)", given 0<x<pow(10, places)
248 // result points to places+2 chars.
249 static size_t print_permil_as_decimal(int x, char* result, unsigned places) {
251 for (int i = places; i > 0; --i) {
256 for (j = places; j > 1; --j) {

Completed in 956 milliseconds

1 2 3 4 5