We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b942d2 commit 63a0071Copy full SHA for 63a0071
src/dlpack/DLPack.cpp
@@ -10,7 +10,7 @@ void init_DLPack(py::module& m)
10
// register types only if not already present, e.g., from another library
11
// that also implements DLPack bindings and exposes the types
12
13
- py::type pyDLDeviceType = py::type::of<DLDeviceType>();
+ py::type pyDLDeviceType = false; // TODO: py::type::of<DLDeviceType>();
14
if (!pyDLDeviceType) {
15
py::native_enum<DLDeviceType>(m, "DLDeviceType", "enum.IntEnum")
16
.value("kDLCPU", DLDeviceType::kDLCPU)
0 commit comments