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.cc184 void CompleteName(const DeviceNameUtils::ParsedName& parsed_basename, in CompleteName() argument
187 parsed_name->job = parsed_basename.job; in CompleteName()
191 parsed_name->replica = parsed_basename.replica; in CompleteName()
195 parsed_name->task = parsed_basename.task; in CompleteName()
199 parsed_name->type = parsed_basename.type; in CompleteName()
203 parsed_name->id = parsed_basename.id; in CompleteName()
215 ParsedName parsed_basename; in CanonicalizeDeviceName() local
216 if (!ParseFullName(basename, &parsed_basename)) { in CanonicalizeDeviceName()
220 if (!(parsed_basename.has_job && parsed_basename.has_replica && in CanonicalizeDeviceName()
221 parsed_basename.has_task && parsed_basename.has_type && in CanonicalizeDeviceName()
[all …]