Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/common_runtime/
Dprocess_function_library_runtime.cc495 std::vector<Device*> matching_devices; in PinArgsAndRets() local
496 device_set.FindMatchingDevices(parsed, &matching_devices); in PinArgsAndRets()
497 if (matching_devices.empty()) { in PinArgsAndRets()
499 matching_devices.push_back(default_device); in PinArgsAndRets()
504 } else if (matching_devices.size() != 1) { in PinArgsAndRets()
506 for (int i = 1; i < matching_devices.size(); ++i) { in PinArgsAndRets()
508 matching_devices.at(0)->parsed_name(), in PinArgsAndRets()
509 matching_devices.at(i)->parsed_name())) { in PinArgsAndRets()
522 for (int i = 0; i < matching_devices.size(); ++i) { in PinArgsAndRets()
525 matching_devices.at(i)->parsed_name())) { in PinArgsAndRets()
[all …]