Home
last modified time | relevance | path

Searched refs:DeviceSpecV2 (Results 1 – 8 of 8) sorted by relevance

/external/tensorflow/tensorflow/python/framework/
Ddevice_spec.py52 class DeviceSpecV2(object): class
402 class DeviceSpecV1(DeviceSpecV2):
403 __doc__ = DeviceSpecV2.__doc__
404 __slots__ = DeviceSpecV2.__slots__
406 @DeviceSpecV2.job.setter
411 @DeviceSpecV2.replica.setter
416 @DeviceSpecV2.task.setter
421 @DeviceSpecV2.device_type.setter
426 @DeviceSpecV2.device_index.setter
462 to_string.__doc__ = DeviceSpecV2.to_string.__doc__
[all …]
Ddevice.py27 DeviceSpec = device_spec.DeviceSpecV2
47 return isinstance(obj, device_spec.DeviceSpecV2)
118 if isinstance(spec, device_spec.DeviceSpecV2):
Ddevice_spec_test.py29 ("v2", device_spec.DeviceSpecV2))
201 d = device_spec.DeviceSpecV2()
202 d.merge_from(device_spec.DeviceSpecV2.from_string("/task:1/cpu:0"))
Ddevice_test.py33 ("v2", device_spec.DeviceSpecV2))
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.-device-spec.pbtxt3 is_instance: "<class \'tensorflow.python.framework.device_spec.DeviceSpecV2\'>"
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.-device-spec.pbtxt4 is_instance: "<class \'tensorflow.python.framework.device_spec.DeviceSpecV2\'>"
/external/tensorflow/tensorflow/python/distribute/
Dtpu_strategy.py819 job_name = device_spec.DeviceSpecV2.from_string(tpu_devices_flat[0]).job
/external/tensorflow/tensorflow/python/keras/
Dbackend.py851 if isinstance(device, device_spec.DeviceSpecV2):
871 return device_spec.DeviceSpecV2.from_string(op.device)