/external/tensorflow/tensorflow/core/util/ |
D | device_name_utils.h | 52 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 …]
|
D | device_name_utils.cc | 114 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 …]
|
D | device_name_utils_test.cc | 29 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/ |
D | colocation_graph.h | 40 const DeviceNameUtils::ParsedName& requested_device_name() const { in requested_device_name() 115 DeviceNameUtils::ParsedName requested_device_name_; 123 DeviceNameUtils::ParsedName assigned_device_name_;
|
D | renamed_device.cc | 25 DeviceNameUtils::ParsedName parsed_name; in NewRenamedDevice() 27 DeviceNameUtils::ParsedName underlying_parsed_name = in NewRenamedDevice()
|
D | device.h | 69 const DeviceNameUtils::ParsedName& parsed_name() const { in parsed_name() 212 DeviceNameUtils::ParsedName parsed_name_;
|
D | colocation_graph.cc | 309 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()
|
D | device_set.h | 56 void FindMatchingDevices(const DeviceNameUtils::ParsedName& spec,
|
D | device_set.cc | 41 void DeviceSet::FindMatchingDevices(const DeviceNameUtils::ParsedName& spec, in FindMatchingDevices()
|
/external/tensorflow/tensorflow/core/grappler/costs/ |
D | virtual_placer.cc | 66 DeviceNameUtils::ParsedName parsed_name; in VirtualPlacer() 97 DeviceNameUtils::ParsedName parsed_name; in VirtualPlacer() 145 DeviceNameUtils::ParsedName parsed_name; in to_lfqn_or_empty()
|
D | utils.cc | 240 DeviceNameUtils::ParsedName parsed; in GetDeviceInfo() 410 DeviceNameUtils::ParsedName parsed_name; in GetDeviceClassForNonChannelDevice()
|
/external/tensorflow/tensorflow/core/distributed_runtime/ |
D | master.cc | 160 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()
|
D | remote_device.cc | 81 DeviceNameUtils::ParsedName worker_name_parsed; in NewRemoteDevices() 92 DeviceNameUtils::ParsedName device_name_parsed; in NewRemoteDevices()
|
D | base_rendezvous_mgr.h | 159 virtual bool IsSameWorker(DeviceNameUtils::ParsedName src, 160 DeviceNameUtils::ParsedName dst);
|
D | base_rendezvous_mgr.cc | 287 bool BaseRemoteRendezvous::IsSameWorker(DeviceNameUtils::ParsedName src, in IsSameWorker() 288 DeviceNameUtils::ParsedName dst) { in IsSameWorker()
|
D | test_utils.h | 146 DeviceNameUtils::ParsedName device_name; in ListWorkersInJob()
|
/external/tensorflow/tensorflow/core/framework/ |
D | rendezvous.h | 64 DeviceNameUtils::ParsedName src; 67 DeviceNameUtils::ParsedName dst;
|
/external/tensorflow/tensorflow/core/grappler/clusters/ |
D | utils.h | 34 DeviceProperties GetDeviceInfo(const DeviceNameUtils::ParsedName& device);
|
D | utils_test.cc | 57 DeviceNameUtils::ParsedName device; in TEST()
|
D | utils.cc | 151 DeviceProperties GetDeviceInfo(const DeviceNameUtils::ParsedName& device) { in GetDeviceInfo()
|
/external/tensorflow/tensorflow/python/util/ |
D | kernel_registry.cc | 44 tensorflow::DeviceNameUtils::ParsedName parsed_name; in TryFindKernelClass()
|
/external/tensorflow/tensorflow/compiler/jit/ |
D | xla_cluster_util.cc | 88 DeviceNameUtils::ParsedName parsed; in DeviceToDeviceType() 284 DeviceNameUtils::ParsedName parsed_name; in PickDeviceForXlaImpl()
|
D | clone_constants_for_better_clustering.cc | 65 DeviceNameUtils::ParsedName parsed; in IsSmallHostConstant()
|
/external/tensorflow/tensorflow/compiler/tf2xla/ |
D | sharding_util.cc | 58 DeviceNameUtils::ParsedName parsed_device; in ParseShardingFromDevice()
|
/external/tensorflow/tensorflow/core/grappler/optimizers/ |
D | implementation_selector.cc | 140 DeviceNameUtils::ParsedName parsed_name; in MaybeOptimizeFunctionCall()
|