We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0429693 commit 2472846Copy full SHA for 2472846
spec/design_topics/data_interchange.md
@@ -111,6 +111,8 @@ The `__dlpack__` method will produce a `PyCapsule` containing a
111
`from_dlpack` - therefore it is consumed exactly once, and it will not be
112
visible to users of the Python API.
113
114
+The producer must set the PyCapsule name to ``"dltensor"`` so that it can
115
+be inspected by name.
116
The consumer must set the PyCapsule name to `"used_dltensor"`, and call the
117
`deleter` of the `DLPackManagedTensor` when it no longer needs the data.
118
0 commit comments