Home
last modified time | relevance | path

Searched refs:places (Results 1 – 25 of 946) sorted by relevance

12345678910>>...38

/external/tensorflow/tensorflow/contrib/learn/python/learn/estimators/
Dsvm_test.py53 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)
/external/clang/test/CXX/temp/temp.param/
Dp15-cxx0x.cpp60 template<place...> struct places {}; struct
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/python/layers/
Dnormalization_test.py337 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 …]
/external/tensorflow/tensorflow/python/ops/ragged/
Dragged_test_util.py59 def assertRaggedAlmostEqual(self, a, b, places=7): argument
62 self.assertNestedListAlmostEqual(a_list, b_list, places, context='value')
69 def assertNestedListAlmostEqual(self, a, b, places=7, context='value'): argument
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/python/cpython2/Lib/unittest/test/
Dtest_assertions.py15 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)
/external/tensorflow/tensorflow/contrib/boosted_trees/estimator_batch/
Dcustom_export_strategy_test.py356 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/tensorflow/tensorflow/contrib/opt/python/training/
Dsign_decay_test.py72 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)
/external/python/cpython3/Lib/unittest/test/
Dtest_assertions.py17 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)
/external/u-boot/doc/
DREADME.at9120 U-Boot environment variables can be stored at different places:
42 U-Boot environment variables can be stored at different places:
63 U-Boot environment variables can be stored at different places:
86 U-Boot environment variables can be stored at different places:
103 U-Boot environment variables can be stored at different places:
120 U-Boot environment variables can be stored at different places:
141 U-Boot environment variables can be stored at different places:
DREADME.enetaddr5 There are a variety of places in U-Boot where the MAC address is used, parsed,
13 Here are the places where MAC addresses might be stored:
24 in other places easier (to avoid constant env lookup/parsing)
/external/tensorflow/tensorflow/contrib/predictor/
Dsaved_model_predictor_test.py56 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,
Dcore_estimator_predictor_test.py54 self.assertAlmostEqual(output, x + y, places=3)
75 expected_output, output, places=3,
/external/python/cpython2/Lib/test/
Dtest_difflib.py11 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/cpython2/Lib/unittest/
Dcase.py525 def assertAlmostEqual(self, first, second, places=None, msg=None, delta=None): argument
541 if delta is not None and places is not None:
552 if places is None:
553 places = 7
555 if round(abs(second-first), places) == 0:
560 places)
564 def assertNotAlmostEqual(self, first, second, places=None, msg=None, delta=None): argument
575 if delta is not None and places is not None:
584 if places is None:
585 places = 7
[all …]
/external/tensorflow/tensorflow/contrib/layers/python/layers/
Dtarget_column_test.py50 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/cpython3/Lib/unittest/
Dcase.py850 def assertAlmostEqual(self, first, second, places=None, msg=None, argument
867 if delta is not None and places is not None:
881 if places is None:
882 places = 7
884 if round(diff, places) == 0:
890 places,
895 def assertNotAlmostEqual(self, first, second, places=None, msg=None, argument
907 if delta is not None and places is not None:
919 if places is None:
920 places = 7
[all …]
/external/cldr/tools/java/org/unicode/cldr/util/
DExtractCollationRules.java228 static public String hex(long i, int places) { in hex() argument
235 if (result.length() < places) { in hex()
236 result = "0000000000000000".substring(result.length(), places) + result; in hex()
/external/python/cpython3/Lib/test/
Dtest_difflib.py11 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/tensorflow/tensorflow/contrib/metrics/python/metrics/
Dclassification_test.py214 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/v8/tools/gcmole/
DREADME4 dependent GC-unsafe places in the V8 codebase.
58 Such places are marked with a "Possible problem with evaluation order."
/external/python/cpython3/Lib/ctypes/test/
Dtest_byteswap.py138 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/skia/src/pdf/
DSkPDFUtils.cpp249 static size_t print_permil_as_decimal(int x, char* result, unsigned places) { in print_permil_as_decimal() argument
251 for (int i = places; i > 0; --i) { in print_permil_as_decimal()
256 for (j = places; j > 1; --j) { in print_permil_as_decimal()
/external/skqp/src/pdf/
DSkPDFUtils.cpp249 static size_t print_permil_as_decimal(int x, char* result, unsigned places) { in print_permil_as_decimal() argument
251 for (int i = places; i > 0; --i) { in print_permil_as_decimal()
256 for (j = places; j > 1; --j) { in print_permil_as_decimal()
/external/grpc-grpc/src/core/lib/gpr/
DREADME.md7 Note that this is one of the few places in src/core where we allow
/external/e2fsprogs/
D.release-checklist15 doc/libext2fs.texinfo (three places)

12345678910>>...38