Back to Pytorch

torch.cpu

docs/source/cpu.md

2.13.0470 B
Original Source

torch.cpu

{eval-rst}
.. automodule:: torch.cpu
{eval-rst}
.. currentmodule:: torch.cpu
{eval-rst}
.. autosummary::
    :toctree: generated
    :nosignatures:

    current_device
    current_stream
    get_capabilities
    is_available
    is_initialized
    synchronize
    stream
    set_device
    device_count
    StreamContext

Streams and events

{eval-rst}
.. autosummary::
    :toctree: generated
    :nosignatures:

    Stream