Use of the c++ API

If I want to write c++ to complete some functions, I need to call some properties of DGL’s underlying c++, for example, I need to use dgl::runtime::NDArray, how do I need to call

The header file of dgl::runtime::NDArray is at dgl/ndarray.h at master · dmlc/dgl · GitHub . You could include it in your source code and compile your project against it.