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 |
hashCode()
|
| String |
job()
|
| static DeviceSpec.Builder | |
| Integer |
replica()
|
| Integer |
task()
|
| String |
toString()
|