Searched refs:py_dtype (Results 1 – 1 of 1) sorted by relevance
1058 PyObject* py_dtype = tensor.GetDType(); in Zeros() local1063 PyObject* arg_list = Py_BuildValue("OO", py_shape, py_dtype); in Zeros()1066 Py_DECREF(py_dtype); in Zeros()1076 PyObject* py_dtype = tensor.GetDType(); in Ones() local1077 PyObject* arg_list = Py_BuildValue("OO", py_shape, py_dtype); in Ones()1080 Py_DECREF(py_dtype); in Ones()1864 tensorflow::Safe_PyObjectPtr py_dtype( local1866 return PyObject_GetAttrString(py_dtype.get(), "_type_enum");1870 tensorflow::Safe_PyObjectPtr py_dtype( local1872 return PyObject_GetAttrString(py_dtype.get(), "_type_enum");