Home
last modified time | relevance | path

Searched refs:ParsedNameToString (Results 1 – 25 of 27) sorted by relevance

12

/external/tensorflow/tensorflow/core/util/
Ddevice_name_utils.cc230 *canonical_name = ParsedNameToString(parsed_name); in CanonicalizeDeviceName()
235 *canonical_name = ParsedNameToString(parsed_name); in CanonicalizeDeviceName()
244 string DeviceNameUtils::ParsedNameToString(const ParsedName& pn) { in ParsedNameToString() function in tensorflow::DeviceNameUtils
350 const auto& ParsedNameToString = DeviceNameUtils::ParsedNameToString; in MergeDevNamesImpl() local
355 ParsedNameToString(*target), "' and '", ParsedNameToString(other), in MergeDevNamesImpl()
367 ParsedNameToString(*target), "' and '", ParsedNameToString(other), in MergeDevNamesImpl()
379 ParsedNameToString(*target), "' and '", ParsedNameToString(other), in MergeDevNamesImpl()
392 ParsedNameToString(*target), "' and '", ParsedNameToString(other), in MergeDevNamesImpl()
412 ParsedNameToString(*target), "' and '", ParsedNameToString(other), in MergeDevNamesImpl()
591 *host_device_name = DeviceNameUtils::ParsedNameToString(device); in DeviceNameToCpuDeviceName()
[all …]
Ddevice_name_utils_test.cc33 string round_tripped = DeviceNameUtils::ParsedNameToString(p); in RoundTripParsedName()
440 << "parsed_target: " << DeviceNameUtils::ParsedNameToString(parsed_target) in MergeOverrideHelper()
442 << DeviceNameUtils::ParsedNameToString(parsed_expected); in MergeOverrideHelper()
Ddevice_name_utils.h196 static std::string ParsedNameToString(const ParsedName& pn);
/external/tensorflow/tensorflow/core/tpu/kernels/
Dhost_compute_ops.cc65 cpu_device_ = DeviceNameUtils::ParsedNameToString(parsed_name); in RecvAtHostOp()
69 tpu_device_ = DeviceNameUtils::ParsedNameToString(parsed_name); in RecvAtHostOp()
95 tpu_device = DeviceNameUtils::ParsedNameToString(parsed_name); in ComputeAsync()
222 cpu_device_ = DeviceNameUtils::ParsedNameToString(parsed_name); in SendFromHostOp()
226 tpu_device_ = DeviceNameUtils::ParsedNameToString(parsed_name); in SendFromHostOp()
250 tpu_device = DeviceNameUtils::ParsedNameToString(parsed_name); in Compute()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/ir/
Dtf_structs.cc30 gpu_metadata_.insert({DeviceNameUtils::ParsedNameToString(device), metadata}); in AddGpuDevice()
35 auto it = gpu_metadata_.find(DeviceNameUtils::ParsedNameToString(device)); in GetGpuDeviceMetadata()
/external/tensorflow/tensorflow/core/common_runtime/
Dcolocation_graph.cc256 DeviceNameUtils::ParsedNameToString(src_root.assigned_device_name_), in EnsureCompatibilityAcrossResourceEdge()
257 " vs ", DeviceNameUtils::ParsedNameToString(assigned_device_name_), in EnsureCompatibilityAcrossResourceEdge()
267 DeviceNameUtils::ParsedNameToString(src_root.resource_device_name_), in EnsureCompatibilityAcrossResourceEdge()
268 " vs ", DeviceNameUtils::ParsedNameToString(resource_device_name_), in EnsureCompatibilityAcrossResourceEdge()
284 << DeviceNameUtils::ParsedNameToString(requested_device_name_) in EnsureCompatibilityAcrossResourceEdge()
289 << DeviceNameUtils::ParsedNameToString( in EnsureCompatibilityAcrossResourceEdge()
479 DeviceNameUtils::ParsedNameToString(assigned_device_name_), in AssignDevice()
488 DeviceNameUtils::ParsedNameToString(resource_device_name_), in AssignDevice()
497 DeviceNameUtils::ParsedNameToString(requested_device_name_), in AssignDevice()
548 DeviceNameUtils::ParsedNameToString(requested_device_name_), in DebugString()
[all …]
Dinspecting_placer.cc54 DeviceNameUtils::ParsedNameToString(devices.requested_device_name), in DebugString()
56 DeviceNameUtils::ParsedNameToString(devices.resource_device_name), in DebugString()
Dcomposite_device.cc31 const string device_name = DeviceNameUtils::ParsedNameToString(parsed_name); in MakeDevice()
Dcollective_param_resolver_local.cc382 DeviceNameUtils::ParsedNameToString(parsed_name); in OrderTaskDeviceMap()
400 next_device = DeviceNameUtils::ParsedNameToString(parsed_name); in OrderTaskDeviceMap()
Dinline_function_utils.cc250 return DeviceNameUtils::ParsedNameToString(ndef_parsed_device); in BodyNodeDevice()
Dgraph_execution_state.cc371 DeviceNameUtils::ParsedNameToString(parsed_name)); in LookupDevice()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/utils/
Dtpu_rewrite_device_util.cc172 return DeviceNameUtils::ParsedNameToString(system_device); in GetTPUCompilationDevice()
179 return DeviceNameUtils::ParsedNameToString(tpu_device); in GetCPUHostDeviceForTPUDevice()
210 /*device=*/tensorflow::DeviceNameUtils::ParsedNameToString(tpu_device), in GetFullMeshTPUExecutionDeviceAssignment()
414 device_and_host.device = DeviceNameUtils::ParsedNameToString(tpu_device); in GetGeneralTPUExecutionDeviceAssignment()
Ddevice_util.cc131 string name = DeviceNameUtils::ParsedNameToString(device->parsed_name()); in AddDevicesToOp()
Ddevice_util_test.cc172 ASSERT_EQ(DeviceNameUtils::ParsedNameToString(devices.device_names()[0]), in TEST()
/external/tensorflow/tensorflow/core/common_runtime/eager/
Dcustom_device.cc62 DeviceNameUtils::ParsedNameToString(context_->HostCPUParsedName()) in Resolve()
Deager_operation.cc457 device_name_ = DeviceNameUtils::ParsedNameToString(device_parsed_name_); in SetDeviceName()
Dcontext.cc1003 DeviceNameUtils::ParsedNameToString(device_name)); in GetClient()
1018 DeviceNameUtils::ParsedNameToString(device_name)); in GetClient()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/
Dtpu_compile_op_replication_pass.cc39 return DeviceNameUtils::ParsedNameToString( in GetHost()
Dcross_host_transfer.cc52 auto host = DeviceNameUtils::ParsedNameToString(parsed_name); in GetHost()
Dcluster_tf_ops_pass.cc60 std::string result = DeviceNameUtils::ParsedNameToString( in GetHost()
/external/tensorflow/tensorflow/compiler/tf2tensorrt/convert/
Dconvert_graph.cc265 DeviceNameUtils::ParsedNameToString(segment_device)); in GetEngineInfo()
267 info->device = DeviceNameUtils::ParsedNameToString(segment_device); in GetEngineInfo()
278 info->device = DeviceNameUtils::ParsedNameToString(parsed_name); in GetEngineInfo()
Dtrt_optimization_pass.cc140 << DeviceNameUtils::ParsedNameToString(dev->parsed_name()); in PrintDebugInfo()
/external/tensorflow/tensorflow/core/grappler/
Dgrappler_item.cc186 devices_.insert(DeviceNameUtils::ParsedNameToString(name)); in AddDevice()
/external/tensorflow/tensorflow/core/tpu/graph_rewrite/
Ddistributed_tpu_rewrite_helpers.cc118 << DeviceNameUtils::ParsedNameToString(host_spec); in GetHostSystemDevices()
/external/tensorflow/tensorflow/c/eager/
Dc_api_experimental.cc547 auto str = tensorflow::DeviceNameUtils::ParsedNameToString(address_space); in TFE_HostAddressSpace()

12