Home
last modified time | relevance | path

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

123

/external/tensorflow/tensorflow/core/util/
Ddevice_name_utils.h52 struct ParsedName { struct
66 bool operator==(const ParsedName& other) const { argument
97 static bool ParseFullName(StringPiece fullname, ParsedName* parsed); argument
109 static bool HasSomeDetails(const ParsedName& name) { in HasSomeDetails()
118 static bool IsSpecification(const ParsedName& less_specific,
119 const ParsedName& more_specific);
123 static void EnsureSpecification(ParsedName* more_specific,
124 const ParsedName& less_specific);
128 static bool IsCompleteSpecification(const ParsedName& pattern,
129 const ParsedName& name);
[all …]
Ddevice_name_utils.cc104 bool DeviceNameUtils::ParseFullName(StringPiece fullname, ParsedName* p) { in ParseFullName()
179 void CompleteName(const DeviceNameUtils::ParsedName& parsed_basename, in CompleteName()
180 DeviceNameUtils::ParsedName* parsed_name) { in CompleteName()
210 ParsedName parsed_basename; in CanonicalizeDeviceName()
222 ParsedName parsed_name; in CanonicalizeDeviceName()
239 string DeviceNameUtils::ParsedNameToString(const ParsedName& pn) { in ParsedNameToString()
256 bool DeviceNameUtils::IsSpecification(const ParsedName& less_specific, in IsSpecification()
257 const ParsedName& more_specific) { in IsSpecification()
283 bool DeviceNameUtils::AreCompatibleDevNames(const ParsedName& a, in AreCompatibleDevNames()
284 const ParsedName& b) { in AreCompatibleDevNames()
[all …]
Ddevice_name_utils_test.cc29 DeviceNameUtils::ParsedName p; in RoundTripParsedName()
74 DeviceNameUtils::ParsedName p; in TEST()
105 DeviceNameUtils::ParsedName p; in TEST()
121 DeviceNameUtils::ParsedName p; in TEST()
136 DeviceNameUtils::ParsedName p; in TEST()
147 DeviceNameUtils::ParsedName p; in TEST()
159 DeviceNameUtils::ParsedName p; in TEST()
171 DeviceNameUtils::ParsedName p; in TEST()
184 DeviceNameUtils::ParsedName p; in TEST()
193 DeviceNameUtils::ParsedName p; in TEST()
[all …]
/external/tensorflow/tensorflow/core/common_runtime/
Dcolocation_graph.h42 const DeviceNameUtils::ParsedName* local_address_spec);
44 const DeviceNameUtils::ParsedName& requested_device_name() const { in requested_device_name()
104 DeviceNameUtils::ParsedName GetSoftDeviceName() const;
108 DeviceNameUtils::ParsedName GetPreferredSoftDeviceName() const;
152 DeviceNameUtils::ParsedName requested_device_name_;
158 DeviceNameUtils::ParsedName assigned_device_name_;
180 DeviceNameUtils::ParsedName resource_device_name_;
364 const DeviceNameUtils::ParsedName local_address_spec_;
Dinspecting_placer.h40 DeviceNameUtils::ParsedName requested_device_name;
43 DeviceNameUtils::ParsedName resource_device_name;
Dcolocation_graph.cc140 const DeviceNameUtils::ParsedName* local_address_spec) { in SetParentAndSupportedDevices()
346 DeviceNameUtils::ParsedName assigned_device_name_copy = assigned_device_name_; in MergeDeviceNames()
350 DeviceNameUtils::ParsedName resource_device_name_copy = resource_device_name_; in MergeDeviceNames()
354 DeviceNameUtils::ParsedName requested_device_name_copy = in MergeDeviceNames()
445 DeviceNameUtils::ParsedName parsed; in AssignDevice()
530 DeviceNameUtils::ParsedName Member::GetSoftDeviceName() const { in GetSoftDeviceName()
531 DeviceNameUtils::ParsedName soft_device_name = requested_device_name_; in GetSoftDeviceName()
542 DeviceNameUtils::ParsedName Member::GetPreferredSoftDeviceName() const { in GetPreferredSoftDeviceName()
543 DeviceNameUtils::ParsedName soft_device_name = requested_device_name_; in GetPreferredSoftDeviceName()
559 static const DeviceNameUtils::ParsedName LocalAddressSpec( in LocalAddressSpec()
[all …]
Drenamed_device.cc31 DeviceNameUtils::ParsedName parsed_name; in NewRenamedDevice()
33 DeviceNameUtils::ParsedName underlying_parsed_name = in NewRenamedDevice()
Ddevice.h66 const DeviceNameUtils::ParsedName& parsed_name() const { in parsed_name()
197 DeviceNameUtils::ParsedName parsed_name_;
Ddevice_set.h59 void FindMatchingDevices(const DeviceNameUtils::ParsedName& spec,
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/utils/
Ddevice_util_test.cc50 DeviceNameUtils::ParsedName parsed_name; in Make()
101 llvm::SmallVector<DeviceNameUtils::ParsedName, 8> devices; in TEST()
112 llvm::SmallVector<DeviceNameUtils::ParsedName, 8> devices; in TEST()
123 llvm::SmallVector<DeviceNameUtils::ParsedName, 8> devices; in TEST()
134 llvm::SmallVector<DeviceNameUtils::ParsedName, 8> devices; in TEST()
147 llvm::SmallVector<DeviceNameUtils::ParsedName, 8> devices; in TEST()
Dtpu_rewrite_device_util.cc35 using Device = DeviceNameUtils::ParsedName;
36 using Devices = llvm::ArrayRef<DeviceNameUtils::ParsedName>;
Ddevice_util.h37 llvm::SmallVectorImpl<DeviceNameUtils::ParsedName>* devices);
Dtpu_rewrite_device_util.h55 llvm::ArrayRef<DeviceNameUtils::ParsedName> devices, int num_replicas,
Ddevice_util.cc54 llvm::SmallVectorImpl<DeviceNameUtils::ParsedName>* devices) { in GetDevicesFromOp()
/external/tensorflow/tensorflow/core/grappler/costs/
Dvirtual_placer.cc64 DeviceNameUtils::ParsedName parsed_name; in VirtualPlacer()
95 DeviceNameUtils::ParsedName parsed_name; in VirtualPlacer()
143 DeviceNameUtils::ParsedName parsed_name; in to_lfqn_or_empty()
/external/tensorflow/tensorflow/core/framework/
Drendezvous.h59 DeviceNameUtils::ParsedName src;
62 DeviceNameUtils::ParsedName dst;
/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.cc98 DeviceNameUtils::ParsedName worker_name_parsed; in NewRemoteDevices()
109 DeviceNameUtils::ParsedName device_name_parsed; in NewRemoteDevices()
Dbase_rendezvous_mgr.h159 virtual bool IsSameWorker(DeviceNameUtils::ParsedName src,
160 DeviceNameUtils::ParsedName dst);
/external/tensorflow/tensorflow/core/grappler/clusters/
Dutils.h34 DeviceProperties GetDeviceInfo(const DeviceNameUtils::ParsedName& device);
/external/tensorflow/tensorflow/core/common_runtime/eager/
Dcontext.cc171 Status EagerContext::SelectDevice(DeviceNameUtils::ParsedName preferred, in SelectDevice()
208 DeviceNameUtils::ParsedName soft_device_name = preferred; in SelectDevice()
730 Status EagerContext::GetClient(const DeviceNameUtils::ParsedName& device_name, in GetClient()
837 DeviceNameUtils::ParsedName pw; in SetRemoteDeviceFilters()
851 std::vector<DeviceNameUtils::ParsedName> parsed_filters; in SetRemoteDeviceFilters()
853 DeviceNameUtils::ParsedName parsed_filter; in SetRemoteDeviceFilters()
887 const std::vector<DeviceNameUtils::ParsedName>& parsed_filters = it->second; in FilterDevicesForRemoteWorkers()
888 DeviceNameUtils::ParsedName parsed_remote_worker; in FilterDevicesForRemoteWorkers()
891 DeviceNameUtils::ParsedName pn; in FilterDevicesForRemoteWorkers()
Deager_operation.h87 const DeviceNameUtils::ParsedName& GetDeviceParsedName() const { in GetDeviceParsedName()
142 DeviceNameUtils::ParsedName device_parsed_name_;
Dcontext_test.cc91 DeviceNameUtils::ParsedName requested; in TEST_F()
137 DeviceNameUtils::ParsedName requested; in TEST_F()
/external/tensorflow/tensorflow/python/util/
Dkernel_registry.cc44 tensorflow::DeviceNameUtils::ParsedName parsed_name; in TryFindKernelClass()
/external/tensorflow/tensorflow/compiler/jit/
Ddevice_util.cc92 DeviceNameUtils::ParsedName parsed; in DeviceNameToDeviceType()
129 DeviceNameUtils::ParsedName parsed0, parsed1; in PickDeviceForXlaImpl()

123