Home
last modified time | relevance | path

Searched refs:soft_device_name (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/core/common_runtime/
Dcolocation_graph.cc561 DeviceNameUtils::ParsedName soft_device_name = requested_device_name_; in GetSoftDeviceName() local
563 soft_device_name.type.clear(); in GetSoftDeviceName()
564 soft_device_name.has_type = false; in GetSoftDeviceName()
567 soft_device_name.has_id = false; in GetSoftDeviceName()
569 return soft_device_name; in GetSoftDeviceName()
573 DeviceNameUtils::ParsedName soft_device_name = requested_device_name_; in GetPreferredSoftDeviceName() local
575 soft_device_name.type.clear(); in GetPreferredSoftDeviceName()
576 soft_device_name.has_type = false; in GetPreferredSoftDeviceName()
579 soft_device_name.has_id = false; in GetPreferredSoftDeviceName()
581 return soft_device_name; in GetPreferredSoftDeviceName()
[all …]
/external/tensorflow/tensorflow/core/common_runtime/eager/
Dcontext.cc296 DeviceNameUtils::ParsedName soft_device_name = preferred; in SelectDevice() local
297 soft_device_name.type.clear(); in SelectDevice()
298 soft_device_name.has_type = false; in SelectDevice()
299 soft_device_name.has_id = false; in SelectDevice()
302 *out = SelectBestMatchingDevice(soft_device_name, existing, supported_devs); in SelectDevice()