Searched refs:PyBfloat16_Type (Results 1 – 1 of 1) sorted by relevance
76 extern PyTypeObject PyBfloat16_Type;87 reinterpret_cast<PyObject*>(&PyBfloat16_Type)); in PyBfloat16_Check()98 make_safe(PyBfloat16_Type.tp_alloc(&PyBfloat16_Type, 0)); in PyBfloat16_FromBfloat16()310 PyTypeObject PyBfloat16_Type = { variable369 PyObject_HEAD_INIT(nullptr) & PyBfloat16_Type, // typeobj548 PyBfloat16_Type.tp_base = &PyGenericArrType_Type; in Initialize()550 if (PyType_Ready(&PyBfloat16_Type) < 0) { in Initialize()568 if (PyDict_SetItemString(PyBfloat16_Type.tp_dict, "dtype", in Initialize()675 CHECK(PyBfloat16_Type.tp_base != nullptr); in Bfloat16PyType()676 Py_INCREF(&PyBfloat16_Type); in Bfloat16PyType()[all …]