You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy the array from the device on which it currently resides to the specified ``device``.
@@ -1258,7 +1258,7 @@ def to_device(
1258
1258
array instance.
1259
1259
device: device
1260
1260
a ``device`` object (see :ref:`device-support`).
1261
-
stream: Optional[Union[int, Any]]
1261
+
stream: Optional[Any]
1262
1262
stream object to use during copy. In addition to the types supported in :meth:`Array.__dlpack__`, implementations may choose to support any library-specific stream object with the caveat that any code using such an object would not be portable.
0 commit comments