MCPcopy Create free account
hub / github.com/NVIDIA/DALI / PyLongFromVoidPtr

Function PyLongFromVoidPtr

dali/python/backend_impl.cc:162–164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

160}
161
162static py::object PyLongFromVoidPtr(void *ptr) {
163 return py::reinterpret_steal<py::object>(PyLong_FromVoidPtr(ptr));
164}
165
166template<typename Backend>
167py::dict ArrayInterfaceRepr(Tensor<Backend> &t) {

Callers 4

ArrayInterfaceReprFunction · 0.85
ExposeTensorFunction · 0.85
ExposeTensorListCPUFunction · 0.85
ExposeTesorListGPUFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected