Searched refs:dtype_field (Results 1 – 1 of 1) sorted by relevance
924 PyObject* dtype_field = PyObject_GetAttrString(tensor, "dtype"); in FastTensorDtype() local925 if (dtype_field == nullptr) { in FastTensorDtype()928 PyObject* enum_field = PyObject_GetAttrString(dtype_field, "_type_enum"); in FastTensorDtype()929 Py_DECREF(dtype_field); in FastTensorDtype()930 if (dtype_field == nullptr) { in FastTensorDtype()