Searched refs:p_obj (Results 1 – 5 of 5) sorted by relevance
/external/tensorflow/tensorflow/python/keras/ |
D | metrics_confusion_matrix_test.py | 324 p_obj = metrics.Precision( 326 self.assertEqual(p_obj.name, 'my_precision') 327 self.assertEqual(len(p_obj.variables), 2) 328 self.assertEqual([v.name for v in p_obj.variables], 330 self.assertEqual(p_obj.thresholds, [0.4, 0.9]) 331 self.assertEqual(p_obj.top_k, 15) 332 self.assertEqual(p_obj.class_id, 12) 335 p_obj2 = metrics.Precision.from_config(p_obj.get_config()) 343 p_obj = metrics.Precision(thresholds=[0.3, 0.72]) 346 update_op = p_obj.update_state(y_true, y_pred) [all …]
|
D | metrics_test.py | 1880 p_obj = metrics.Precision() 1881 model = _get_model([p_obj]) 1885 self.assertEqual(self.evaluate(p_obj.true_positives), 50.) 1886 self.assertEqual(self.evaluate(p_obj.false_positives), 50.) 1888 self.assertEqual(self.evaluate(p_obj.true_positives), 50.) 1889 self.assertEqual(self.evaluate(p_obj.false_positives), 50.)
|
/external/python/cpython3/Modules/clinic/ |
D | _hashopenssl.c.h | 19 PyObject *n_obj, PyObject *r_obj, PyObject *p_obj, 32 PyObject *p_obj = Py_None; in _hashlib_scrypt() local 37 …&password, &salt, &PyLong_Type, &n_obj, &PyLong_Type, &r_obj, &PyLong_Type, &p_obj, &maxmem, &dkle… in _hashlib_scrypt() 40 … return_value = _hashlib_scrypt_impl(module, &password, &salt, n_obj, r_obj, p_obj, maxmem, dklen); in _hashlib_scrypt()
|
/external/libchrome/mojo/public/cpp/bindings/lib/ |
D | bindings_internal.h | 80 const char* p_obj = reinterpret_cast<const char*>(ptr); in EncodePointer() local 82 DCHECK(p_obj > p_slot); in EncodePointer() 84 *offset = static_cast<uint64_t>(p_obj - p_slot); in EncodePointer()
|
/external/python/cpython3/Modules/ |
D | _hashopenssl.c | 756 PyObject *n_obj, PyObject *r_obj, PyObject *p_obj, in _hashlib_scrypt_impl() argument 801 p = PyLong_AsUnsignedLong(p_obj); in _hashlib_scrypt_impl()
|