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

Function PyArrayFromIntVector

graphlearn/python/c/py_wrapper.h:615–619  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

613}
614
615PyObject* PyArrayFromIntVector(const int32_t* data, npy_intp* size) {
616 PyObject* obj = PyArray_SimpleNewFromData(
617 1, size, NPY_INT32, (void *)data);
618 return obj;
619}
620
621PyObject* PyArrayFromInt64Vector(const int64_t* data, npy_intp* size) {
622 PyObject* obj = PyArray_SimpleNewFromData(

Callers 1

get_dag_valueFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected