DeviceType Type

Represents the type of a device.

The numeric values used are as for LibTorch.

Record fields

Record Field Description

CPU

Full Usage: CPU

Field type: DeviceType
Modifiers: static
Field type: DeviceType

CUDA

Full Usage: CUDA

Field type: DeviceType
Modifiers: static
Field type: DeviceType

FPGA

Full Usage: FPGA

Field type: DeviceType
Modifiers: static
Field type: DeviceType

HIP

Full Usage: HIP

Field type: DeviceType
Modifiers: static
Field type: DeviceType

IDEEP

Full Usage: IDEEP

Field type: DeviceType
Modifiers: static
Field type: DeviceType

MKLDNN

Full Usage: MKLDNN

Field type: DeviceType
Modifiers: static
Field type: DeviceType

MSNPU

Full Usage: MSNPU

Field type: DeviceType
Modifiers: static
Field type: DeviceType

OPENCL

Full Usage: OPENCL

Field type: DeviceType
Modifiers: static
Field type: DeviceType

OPENGL

Full Usage: OPENGL

Field type: DeviceType
Modifiers: static
Field type: DeviceType

XLA

Full Usage: XLA

Field type: DeviceType
Modifiers: static
Field type: DeviceType

© Copyright 2021, DiffSharp Contributors.