DeviceSpec

public final class DeviceSpec

Represents a (possibly partial) specification for a TensorFlow device.

This is a Java port from python device_spec.py.

See Also

Nested Classes

class DeviceSpec.Builder A Builder class for building DeviceSpec class. 
enum DeviceSpec.DeviceType  

Public Methods

Integer
DeviceSpec.DeviceType
boolean
equals(Object o)
int
String
job()
static DeviceSpec.Builder
Integer
Integer
task()
String

Inherited Methods

Public Methods

public Integer deviceIndex ()

public DeviceSpec.DeviceType deviceType ()

public boolean equals (Object o)

public int hashCode ()

public String job ()

public static DeviceSpec.Builder newBuilder ()

public Integer replica ()

public Integer task ()

public String toString ()