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.cc179 void CompleteName(const DeviceNameUtils::ParsedName& parsed_basename, in CompleteName() argument
182 parsed_name->job = parsed_basename.job; in CompleteName()
186 parsed_name->replica = parsed_basename.replica; in CompleteName()
190 parsed_name->task = parsed_basename.task; in CompleteName()
194 parsed_name->type = parsed_basename.type; in CompleteName()
198 parsed_name->id = parsed_basename.id; in CompleteName()
210 ParsedName parsed_basename; in CanonicalizeDeviceName() local
211 if (!ParseFullName(basename, &parsed_basename)) { in CanonicalizeDeviceName()
215 if (!(parsed_basename.has_job && parsed_basename.has_replica && in CanonicalizeDeviceName()
216 parsed_basename.has_task && parsed_basename.has_type && in CanonicalizeDeviceName()
[all …]