Device Type

Represents a device specification.

Union cases

Union case Description

Device(DeviceType, int)

Full Usage: Device(DeviceType, int)

Parameters:
Item1 : DeviceType
Item2 : int

Instance members

Instance member Description

this.DeviceIndex

Full Usage: this.DeviceIndex

Returns: int
Returns: int

this.DeviceType

Full Usage: this.DeviceType

Returns: DeviceType
Returns: DeviceType

Static members

Static member Description

Device.CPU

Full Usage: Device.CPU

Returns: Device
Returns: Device

Device.GPU

Full Usage: Device.GPU

Returns: Device
Returns: Device

© Copyright 2021, DiffSharp Contributors.