GlobalParameters..::..Device Property

Gets or sets the device which will be used. Either CPU or GPU

Namespace:  SiaNet
Assembly:  SiaNet (in SiaNet.dll)

Syntax


public static DeviceDescriptor Device { get; set; }
Public Shared Property Device As DeviceDescriptor
	Get
	Set
public:
static property DeviceDescriptor^ Device {
	DeviceDescriptor^ get ();
	void set (DeviceDescriptor^ value);
}

Field Value

The device.