Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/common_runtime/eager/
Deager_operation.cc454 if (!DeviceNameUtils::ParseFullName(name, &device_parsed_name_)) { in SetDeviceName()
459 device_name_ = DeviceNameUtils::ParsedNameToString(device_parsed_name_); in SetDeviceName()
468 if (!device_parsed_name_.has_job && !device_parsed_name_.has_replica && in IsLocal()
469 !device_parsed_name_.has_task) in IsLocal()
472 return device_parsed_name_.job == host_cpu_name.job && in IsLocal()
473 device_parsed_name_.replica == host_cpu_name.replica && in IsLocal()
474 device_parsed_name_.task == host_cpu_name.task; in IsLocal()
Deager_operation.h61 return device_parsed_name_; in GetDeviceParsedName()
77 DeviceNameUtils::ParseFullName(device_name_, &device_parsed_name_); in SetDevice()
266 DeviceNameUtils::ParsedName device_parsed_name_; variable