Create a new `DeviceSpec` object. Args: job: string. Optional job name. replica: int. Optional replica index. task: int. Optional task index. device_type: Optional device type string (e.g. "CPU" or "GPU") device_index: int. Optional device index. If left
(self, job=None, replica=None, task=None, device_type=None,
device_index=None)
source not stored for this graph (policy: none)
nothing calls this directly
no test coverage detected