Shortcuts

Enum DeviceType

Enum Documentation

enum c10::DeviceType

Values:

enumerator CPU
enumerator CUDA
enumerator MKLDNN
enumerator OPENGL
enumerator OPENCL
enumerator IDEEP
enumerator HIP
enumerator FPGA
enumerator ORT
enumerator XLA
enumerator Vulkan
enumerator Metal
enumerator XPU
enumerator MLC
enumerator Meta
enumerator HPU
enumerator VE
enumerator Lazy
enumerator COMPILE_TIME_MAX_DEVICE_TYPES

Docs

Access comprehensive developer documentation for PyTorch

View Docs

Tutorials

Get in-depth tutorials for beginners and advanced developers

View Tutorials

Resources

Find development resources and get your questions answered

View Resources