Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/util/
Ddevice_name_utils.cc189 void CompleteName(const DeviceNameUtils::ParsedName& parsed_basename, in CompleteName() argument
192 parsed_name->job = parsed_basename.job; in CompleteName()
196 parsed_name->replica = parsed_basename.replica; in CompleteName()
200 parsed_name->task = parsed_basename.task; in CompleteName()
204 parsed_name->type = parsed_basename.type; in CompleteName()
208 parsed_name->id = parsed_basename.id; in CompleteName()
220 ParsedName parsed_basename; in CanonicalizeDeviceName() local
221 if (!ParseFullName(basename, &parsed_basename)) { in CanonicalizeDeviceName()
225 if (!(parsed_basename.has_job && parsed_basename.has_replica && in CanonicalizeDeviceName()
226 parsed_basename.has_task && parsed_basename.has_type && in CanonicalizeDeviceName()
[all …]