Загрузка
get_rng_stateReturn the random number generator state of the specified GPU as a ByteTensor. |
Return a list of ByteTensor representing the random number states of all devices. |
Return the current random seed of the current GPU. |
Set the seed for generating random numbers for the current GPU. |
Set the seed for generating random numbers on all GPUs. |
Set the seed for generating random numbers to a random number for the current GPU. |
Set the seed for generating random numbers to a random number on all GPUs. |
Set the random number generator state of the specified GPU. |
Set the random number generator state of all devices. |
Return True if XPU graph capture is underway on the current XPU stream, False otherwise. | |
Return an opaque token representing the id of a graph memory pool. | |
Wrapper around a XPU graph. | |
Context-manager that captures XPU work into a | |
Accept callables (functions or |