Home
last modified time | relevance | path

Searched refs:ParsedName (Results 1 – 25 of 44) sorted by relevance

12

/external/tensorflow/tensorflow/core/util/
Ddevice_name_utils.h52 struct ParsedName { struct
66 bool operator==(const ParsedName& other) const { argument
89 static bool ParseFullName(StringPiece fullname, ParsedName* parsed); argument
101 static bool HasSomeDetails(const ParsedName& name) { in HasSomeDetails()
110 static bool IsSpecification(const ParsedName& less_specific,
111 const ParsedName& more_specific);
115 static void EnsureSpecification(ParsedName* more_specific,
116 const ParsedName& less_specific);
120 static bool IsCompleteSpecification(const ParsedName& pattern,
121 const ParsedName& name);
[all …]
Ddevice_name_utils.cc114 bool DeviceNameUtils::ParseFullName(StringPiece fullname, ParsedName* p) { in ParseFullName()
189 void CompleteName(const DeviceNameUtils::ParsedName& parsed_basename, in CompleteName()
190 DeviceNameUtils::ParsedName* parsed_name) { in CompleteName()
220 ParsedName parsed_basename; in CanonicalizeDeviceName()
232 ParsedName parsed_name; in CanonicalizeDeviceName()
249 string DeviceNameUtils::ParsedNameToString(const ParsedName& pn) { in ParsedNameToString()
266 bool DeviceNameUtils::IsSpecification(const ParsedName& less_specific, in IsSpecification()
267 const ParsedName& more_specific) { in IsSpecification()
292 void DeviceNameUtils::EnsureSpecification(ParsedName* more_specific, in EnsureSpecification()
293 const ParsedName& less_specific) { in EnsureSpecification()
[all …]
Ddevice_name_utils_test.cc29 DeviceNameUtils::ParsedName p; in RoundTripParsedName()
73 DeviceNameUtils::ParsedName p; in TEST()
104 DeviceNameUtils::ParsedName p; in TEST()
120 DeviceNameUtils::ParsedName p; in TEST()
135 DeviceNameUtils::ParsedName p; in TEST()
146 DeviceNameUtils::ParsedName p; in TEST()
158 DeviceNameUtils::ParsedName p; in TEST()
170 DeviceNameUtils::ParsedName p; in TEST()
183 DeviceNameUtils::ParsedName p; in TEST()
192 DeviceNameUtils::ParsedName p; in TEST()
[all …]
/external/tensorflow/tensorflow/core/common_runtime/
Dcolocation_graph.h40 const DeviceNameUtils::ParsedName& requested_device_name() const { in requested_device_name()
115 DeviceNameUtils::ParsedName requested_device_name_;
123 DeviceNameUtils::ParsedName assigned_device_name_;
Drenamed_device.cc25 DeviceNameUtils::ParsedName parsed_name; in NewRenamedDevice()
27 DeviceNameUtils::ParsedName underlying_parsed_name = in NewRenamedDevice()
Ddevice.h69 const DeviceNameUtils::ParsedName& parsed_name() const { in parsed_name()
212 DeviceNameUtils::ParsedName parsed_name_;
Dcolocation_graph.cc309 DeviceNameUtils::ParsedName assigned_device_name_copy = assigned_device_name_; in MergeDeviceNames()
313 DeviceNameUtils::ParsedName requested_device_name_copy = in MergeDeviceNames()
411 DeviceNameUtils::ParsedName parsed; in AssignDevice()
728 DeviceNameUtils::ParsedName soft_device_name = in GetDevicesForNode()
747 DeviceNameUtils::ParsedName specified_device_name; in GetDevicesForNode()
Ddevice_set.h56 void FindMatchingDevices(const DeviceNameUtils::ParsedName& spec,
Ddevice_set.cc41 void DeviceSet::FindMatchingDevices(const DeviceNameUtils::ParsedName& spec, in FindMatchingDevices()
/external/tensorflow/tensorflow/core/grappler/costs/
Dvirtual_placer.cc66 DeviceNameUtils::ParsedName parsed_name; in VirtualPlacer()
97 DeviceNameUtils::ParsedName parsed_name; in VirtualPlacer()
145 DeviceNameUtils::ParsedName parsed_name; in to_lfqn_or_empty()
Dutils.cc240 DeviceNameUtils::ParsedName parsed; in GetDeviceInfo()
410 DeviceNameUtils::ParsedName parsed_name; in GetDeviceClassForNonChannelDevice()
/external/tensorflow/tensorflow/core/distributed_runtime/
Dmaster.cc160 DeviceNameUtils::ParsedName parsed; in DeviceFinder()
183 DeviceNameUtils::ParsedName local_parsed_name; in DeviceFinder()
188 for (const DeviceNameUtils::ParsedName& filter : filters_) { in DeviceFinder()
298 std::vector<DeviceNameUtils::ParsedName> filters_;
331 bool Intersects(const DeviceNameUtils::ParsedName& x, in Intersects()
332 const DeviceNameUtils::ParsedName& y) { in Intersects()
343 DeviceNameUtils::ParsedName x; in MatchFilters()
432 DeviceNameUtils::ParsedName name = d->parsed_name(); in CreateSession()
Dremote_device.cc81 DeviceNameUtils::ParsedName worker_name_parsed; in NewRemoteDevices()
92 DeviceNameUtils::ParsedName device_name_parsed; in NewRemoteDevices()
Dbase_rendezvous_mgr.h159 virtual bool IsSameWorker(DeviceNameUtils::ParsedName src,
160 DeviceNameUtils::ParsedName dst);
Dbase_rendezvous_mgr.cc287 bool BaseRemoteRendezvous::IsSameWorker(DeviceNameUtils::ParsedName src, in IsSameWorker()
288 DeviceNameUtils::ParsedName dst) { in IsSameWorker()
Dtest_utils.h146 DeviceNameUtils::ParsedName device_name; in ListWorkersInJob()
/external/tensorflow/tensorflow/core/framework/
Drendezvous.h64 DeviceNameUtils::ParsedName src;
67 DeviceNameUtils::ParsedName dst;
/external/tensorflow/tensorflow/core/grappler/clusters/
Dutils.h34 DeviceProperties GetDeviceInfo(const DeviceNameUtils::ParsedName& device);
Dutils_test.cc57 DeviceNameUtils::ParsedName device; in TEST()
Dutils.cc151 DeviceProperties GetDeviceInfo(const DeviceNameUtils::ParsedName& device) { in GetDeviceInfo()
/external/tensorflow/tensorflow/python/util/
Dkernel_registry.cc44 tensorflow::DeviceNameUtils::ParsedName parsed_name; in TryFindKernelClass()
/external/tensorflow/tensorflow/compiler/jit/
Dxla_cluster_util.cc88 DeviceNameUtils::ParsedName parsed; in DeviceToDeviceType()
284 DeviceNameUtils::ParsedName parsed_name; in PickDeviceForXlaImpl()
Dclone_constants_for_better_clustering.cc65 DeviceNameUtils::ParsedName parsed; in IsSmallHostConstant()
/external/tensorflow/tensorflow/compiler/tf2xla/
Dsharding_util.cc58 DeviceNameUtils::ParsedName parsed_device; in ParseShardingFromDevice()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dimplementation_selector.cc140 DeviceNameUtils::ParsedName parsed_name; in MaybeOptimizeFunctionCall()

12