Home
last modified time | relevance | path

Searched refs:p_obj (Results 1 – 7 of 7) sorted by relevance

/external/tensorflow/tensorflow/python/keras/
Dmetrics_confusion_matrix_test.py327 p_obj = metrics.Precision(
329 self.assertEqual(p_obj.name, 'my_precision')
330 self.assertLen(p_obj.variables, 2)
331 self.assertEqual([v.name for v in p_obj.variables],
333 self.assertEqual(p_obj.thresholds, [0.4, 0.9])
334 self.assertEqual(p_obj.top_k, 15)
335 self.assertEqual(p_obj.class_id, 12)
338 p_obj2 = metrics.Precision.from_config(p_obj.get_config())
346 p_obj = metrics.Precision(thresholds=[0.3, 0.72])
349 update_op = p_obj.update_state(y_true, y_pred)
[all …]
Dmetrics_test.py2171 p_obj = metrics.Precision()
2172 model = _get_model([p_obj])
2176 self.assertEqual(self.evaluate(p_obj.true_positives), 50.)
2177 self.assertEqual(self.evaluate(p_obj.false_positives), 50.)
2179 self.assertEqual(self.evaluate(p_obj.true_positives), 50.)
2180 self.assertEqual(self.evaluate(p_obj.false_positives), 50.)
/external/mesa3d/src/gallium/frontends/omx/tizonia/
Dh264dinport.c89 tiz_port_t * p_obj = (tiz_port_t *) ap_obj; in h264d_inport_SetParameter() local
92p_obj->portdef_.nBufferSize = i_def->format.video.nFrameWidth * i_def->format.video.nFrameHeight *… in h264d_inport_SetParameter()
/external/libchrome/mojo/public/cpp/bindings/lib/
Dbindings_internal.h80 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/clinic/
D_hashopenssl.c.h982 PyObject *n_obj, PyObject *r_obj, PyObject *p_obj,
997 PyObject *p_obj = Py_None; in _hashlib_scrypt() local
1052 p_obj = args[4]; in _hashlib_scrypt()
1081 … return_value = _hashlib_scrypt_impl(module, &password, &salt, n_obj, r_obj, p_obj, maxmem, dklen); in _hashlib_scrypt()
/external/python/cpython3/Modules/
D_hashopenssl.c1222 PyObject *n_obj, PyObject *r_obj, PyObject *p_obj, in _hashlib_scrypt_impl() argument
1267 p = PyLong_AsUnsignedLong(p_obj); in _hashlib_scrypt_impl()
/external/mesa3d/src/gallium/frontends/omx/
Dvid_dec_h264_common.c946 …tiz_port_t * p_obj = tiz_krn_get_port(tiz_get_krn(handleOf(priv)), OMX_VID_DEC_AVC_INPUT_PORT_INDE… in update_port_parameters() local
949 p_obj->portdef_.nBufferSize = p_def->nFrameWidth * p_def->nFrameHeight * 512 / (16*16); in update_port_parameters()