Skip to content

Latest commit

 

History

History
25 lines (21 loc) · 406 Bytes

cpu.rst

File metadata and controls

25 lines (21 loc) · 406 Bytes

torch.cpu

.. automodule:: torch.cpu
.. currentmodule:: torch.cpu

.. autosummary::
    :toctree: generated
    :nosignatures:

    current_device
    current_stream
    is_available
    synchronize
    stream
    set_device
    device_count
    StreamContext

Streams and events

.. autosummary::
    :toctree: generated
    :nosignatures:

    Stream