MCPcopy Create free account
hub / github.com/alibaba/graph-learn / PyArrayFromInt64Vector

Function PyArrayFromInt64Vector

graphlearn/python/c/py_wrapper.h:621–625  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

619}
620
621PyObject* PyArrayFromInt64Vector(const int64_t* data, npy_intp* size) {
622 PyObject* obj = PyArray_SimpleNewFromData(
623 1, size, NPY_INT64, (void *)data);
624 return obj;
625}
626
627PyObject* PyArrayFromStringVector(
628 const std::string* const* data, npy_intp* size) {

Callers 1

get_dag_valueFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected