Home
last modified time | relevance | path

Searched refs:ParseFullName (Results 1 – 25 of 68) sorted by relevance

123

/external/tensorflow/tensorflow/core/util/
Ddevice_name_utils_test.cc30 if (!DeviceNameUtils::ParseFullName(original, &p)) { in RoundTripParsedName()
75 EXPECT_FALSE(DeviceNameUtils::ParseFullName("foobar", &p)); in TEST()
76 EXPECT_FALSE(DeviceNameUtils::ParseFullName( in TEST()
79 DeviceNameUtils::ParseFullName("/job:123/replica:1/task:2/gpu:", &p)); in TEST()
80 EXPECT_FALSE(DeviceNameUtils::ParseFullName( in TEST()
82 EXPECT_FALSE(DeviceNameUtils::ParseFullName( in TEST()
84 EXPECT_FALSE(DeviceNameUtils::ParseFullName( in TEST()
87 DeviceNameUtils::ParseFullName("/job:foo/replica:1/task:2/bar:3", &p)); in TEST()
88 EXPECT_FALSE(DeviceNameUtils::ParseFullName( in TEST()
90 EXPECT_TRUE(DeviceNameUtils::ParseFullName( in TEST()
[all …]
Ddevice_name_utils.cc104 bool DeviceNameUtils::ParseFullName(StringPiece fullname, ParsedName* p) { in ParseFullName() function in tensorflow::DeviceNameUtils
179 return ParseFullName(fullname, p) || ParseLocalName(fullname, p); in ParseFullOrLocalName()
216 if (!ParseFullName(basename, &parsed_basename)) { in CanonicalizeDeviceName()
233 if (ParseFullName(fullname, &parsed_name)) { in CanonicalizeDeviceName()
458 return ParseFullName(src, &x) && ParseFullName(dst, &y) && in IsSameAddressSpace()
499 CHECK(ParseFullName(fullname, &x)) << fullname; in LocalName()
523 if (ParseFullName(name, &pn) && pn.has_type && pn.has_id) { in SplitDeviceName()
584 if (!DeviceNameUtils::ParseFullName(device_name, &device)) { in DeviceNameToCpuDeviceName()
/external/llvm-project/lldb/unittests/Core/
DRichManglingContextTest.cpp32 RMC.ParseFullName(); in TEST()
56 ItaniumRMC.ParseFullName(); in TEST()
57 CxxMethodRMC.ParseFullName(); in TEST()
90 RMC.ParseFullName(); in TEST()
94 RMC.ParseFullName(); in TEST()
98 RMC.ParseFullName(); in TEST()
127 RMC.ParseFullName(); in TEST()
132 RMC.ParseFullName(); in TEST()
/external/tensorflow/tensorflow/core/grappler/costs/
Dvirtual_placer.cc65 bool parsed = DeviceNameUtils::ParseFullName(lfqn, &parsed_name); in VirtualPlacer()
96 bool parsed = DeviceNameUtils::ParseFullName(lfqn, &parsed_name); in VirtualPlacer()
145 bool parsed = DeviceNameUtils::ParseFullName(lowercase_name, &parsed_name); in to_lfqn_or_empty()
Dutils.cc242 if (DeviceNameUtils::ParseFullName(device_str, &parsed)) { in GetDeviceInfo()
394 bool parsed = DeviceNameUtils::ParseFullName(device_name, &parsed_name); in GetDeviceClassForNonChannelDevice()
404 parsed = DeviceNameUtils::ParseFullName(name, &parsed_name); in GetDeviceClassForNonChannelDevice()
/external/tensorflow/tensorflow/core/tpu/graph_rewrite/
Ddistributed_tpu_rewrite_helpers.cc32 if (!DeviceNameUtils::ParseFullName(system_spec_string, system_spec)) { in GetSystemDevice()
86 if (!DeviceNameUtils::ParseFullName((*system_device)->name(), system_spec)) { in GetSystemDevice()
103 CHECK(DeviceNameUtils::ParseFullName( in GetHostSystemDevices()
111 CHECK(DeviceNameUtils::ParseFullName( in GetHostSystemDevices()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/utils/
Ddevice_util.cc78 if (DeviceNameUtils::ParseFullName(string_attr.getValue().str(), &device)) { in GetDevicesFromOp()
101 if (!DeviceNameUtils::ParseFullName(name.str(), &device)) in GetDevicesFromOp()
165 if (!DeviceNameUtils::ParseFullName( in GetDeviceOrdinalFromDeviceString()
Ddevice_util_test.cc51 DeviceNameUtils::ParseFullName(name, &parsed_name); in Make()
198 DeviceNameUtils::ParseFullName(gpu0, &parsed_name); in TEST()
204 DeviceNameUtils::ParseFullName(gpu1, &parsed_name); in TEST()
/external/tensorflow/tensorflow/core/common_runtime/
Dcomposite_device.cc44 if (!DeviceNameUtils::ParseFullName(underlying_devices.at(0), &parsed_name)) { in MakeDevice()
53 if (!DeviceNameUtils::ParseFullName(underlying_devices.at(i), &name)) { in MakeDevice()
Drenamed_device.cc32 CHECK(DeviceNameUtils::ParseFullName(new_base, &parsed_name)); in NewRenamedDevice()
Dcomposite_device_test.cc25 EXPECT_TRUE(DeviceNameUtils::ParseFullName(host_name, &parsed_host_name)); in TEST()
Dcolocation_graph.cc164 if (!DeviceNameUtils::ParseFullName(device_name, &assigned_device_name_)) { in SetAssignedDeviceName()
180 if (!DeviceNameUtils::ParseFullName(node.requested_device(), in SetResourceDeviceName()
204 if (!DeviceNameUtils::ParseFullName(node.requested_device(), in SetRequestedDeviceName()
473 DeviceNameUtils::ParseFullName(node.assigned_device_name(), &parsed); in AssignDevice()
1211 if (DeviceNameUtils::ParseFullName(node->requested_device(), in GetDevicesForNode()
/external/tensorflow/tensorflow/core/tpu/kernels/
Dhost_compute_ops.cc61 DeviceNameUtils::ParseFullName(ctx->device()->name(), &parsed_name), in RecvAtHostOp()
91 ctx, DeviceNameUtils::ParseFullName(cpu_device_, &parsed_name), in ComputeAsync()
218 DeviceNameUtils::ParseFullName(ctx->device()->name(), &parsed_name), in SendFromHostOp()
246 DeviceNameUtils::ParseFullName(cpu_device_, &parsed_name), in Compute()
/external/tensorflow/tensorflow/compiler/jit/
Ddevice_util.cc93 if (!DeviceNameUtils::ParseFullName(device, &parsed)) { in DeviceNameToDeviceType()
130 if (!DeviceNameUtils::ParseFullName(name0, &parsed0) || in PickDeviceForXlaImpl()
131 !DeviceNameUtils::ParseFullName(name1, &parsed1) || in PickDeviceForXlaImpl()
/external/llvm-project/lldb/source/Core/
DRichManglingContext.cpp43 ParseFullName(); in FromItaniumName()
155 void RichManglingContext::ParseFullName() { in ParseFullName() function in RichManglingContext
/external/tensorflow/tensorflow/core/distributed_runtime/
Dremote_device.cc104 if (!DeviceNameUtils::ParseFullName(worker_name, &worker_name_parsed) || in NewRemoteDevices()
115 CHECK(DeviceNameUtils::ParseFullName(da.name(), &device_name_parsed)) in NewRemoteDevices()
/external/tensorflow/tensorflow/core/framework/
Drendezvous.cc105 DeviceNameUtils::ParseFullName(parts[0], &out->src) && in ParseKey()
107 DeviceNameUtils::ParseFullName(parts[2], &out->dst) && in ParseKey()
Ddevice.cc28 CHECK(DeviceNameUtils::ParseFullName(name(), &parsed_name_)) in Device()
/external/tensorflow/tensorflow/python/util/
Dkernel_registry.cc45 if (!tensorflow::DeviceNameUtils::ParseFullName(node_def.device(), in TryFindKernelClass()
/external/llvm-project/lldb/include/lldb/Core/
DRichManglingContext.h60 void ParseFullName();
/external/tensorflow/tensorflow/compiler/tf2tensorrt/convert/
Dutils.cc273 if (!DeviceNameUtils::ParseFullName(device_name, &parsed_name)) { in GetDeviceParsedName()
294 if (!DeviceNameUtils::ParseFullName(b, &b_parsed_name)) { in MergeIfCompatible()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/
Dtpu_compile_op_replication_pass.cc38 DeviceNameUtils::ParseFullName(device.getValue().str(), &parsed_name); in GetHost()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dimplementation_selector.cc264 if (!DeviceNameUtils::ParseFullName(node_def->device(), &parsed_name) || in MaybeOptimizeFunctionCall()
308 if (!DeviceNameUtils::ParseFullName(device, &parsed_name) || in FindDeviceIndex()
/external/tensorflow/tensorflow/lite/tools/
Dlist_flex_ops.cc63 if (!tensorflow::DeviceNameUtils::ParseFullName(node_def->device(), in FindTensorflowKernelClass()
/external/tensorflow/tensorflow/core/common_runtime/eager/
Dcustom_device_op_handler.cc27 if (!DeviceNameUtils::ParseFullName(device_name, &parsed) || in RegisterCustomDevice()

123