| 44 | } |
| 45 | |
| 46 | const string DebugNodeKey::DeviceNameToDevicePath(const string& device_name) { |
| 47 | return strings::StrCat( |
| 48 | kMetadataFilePrefix, kDeviceTag, |
| 49 | str_util::StringReplace( |
| 50 | str_util::StringReplace(device_name, ":", "_", true), "/", ",", |
| 51 | true)); |
| 52 | } |
| 53 | |
| 54 | } // namespace tensorflow |
nothing calls this directly
no test coverage detected