Searched refs:py_vspace_ (Results 1 – 1 of 1) sorted by relevance
1193 explicit PyVSpace(PyObject* py_vspace) : py_vspace_(py_vspace) { in PyVSpace()1194 Py_INCREF(py_vspace_); in PyVSpace()1198 num_elements_ = PyObject_GetAttrString(py_vspace_, "num_elements_fn"); in Initialize()1202 aggregate_fn_ = PyObject_GetAttrString(py_vspace_, "aggregate_fn"); in Initialize()1206 zeros_fn_ = PyObject_GetAttrString(py_vspace_, "zeros_fn"); in Initialize()1210 zeros_like_fn_ = PyObject_GetAttrString(py_vspace_, "zeros_like_fn"); in Initialize()1214 ones_fn_ = PyObject_GetAttrString(py_vspace_, "ones_fn"); in Initialize()1218 ones_like_fn_ = PyObject_GetAttrString(py_vspace_, "ones_like_fn"); in Initialize()1222 graph_shape_fn_ = PyObject_GetAttrString(py_vspace_, "graph_shape_fn"); in Initialize()1238 Py_DECREF(py_vspace_); in ~PyVSpace()[all …]