/external/tensorflow/tensorflow/core/graph/ |
D | costmodel_test.cc | 84 std::unordered_map<string, const Graph*> device_map; in TEST() local 85 device_map["DummyDevice1"] = graph1.get(); in TEST() 86 device_map["DummyDevice2"] = graph2.get(); in TEST() 88 collector.BuildCostModel(&cost_model_manager, device_map); in TEST()
|
/external/tensorflow/tensorflow/python/distribute/cluster_resolver/tpu/ |
D | tpu_cluster_resolver.py | 124 device_map = collections.defaultdict(list) 131 device_map[host_id].append(core_id) 133 return DeviceDetails(device_map, num_cores) 395 device_details.device_map)
|
D | tpu_cluster_resolver_test.py | 567 self.assertEqual(device_details.device_map,
|
/external/tensorflow/tensorflow/python/grappler/ |
D | tf_optimizer_wrapper.cc | 42 std::unordered_map<std::string, tensorflow::DeviceProperties>* device_map) { in DetectDevices() argument 50 tensorflow::DeviceProperties& prop = (*device_map)[device->name()]; in DetectDevices()
|
/external/tensorflow/tensorflow/core/data/service/ |
D | auto_shard_rewriter.cc | 115 std::unordered_map<std::string, tensorflow::DeviceProperties> device_map; in ApplyAutoShardRewrite() local 116 tensorflow::grappler::VirtualCluster cluster(device_map); in ApplyAutoShardRewrite()
|
/external/chromium-trace/catapult/devil/devil/android/ |
D | forwarder.py | 243 device_map = instance._device_to_host_port_map 245 for device_serial_and_port, host_port in device_map.items(): 248 del device_map[device_serial_and_port]
|
/external/tensorflow/tensorflow/compiler/mlir/tfrt/transforms/ |
D | lower_saved_model.cc | 121 auto &device_map = hoisted_values_by_block_device[hoist_into_block(value)]; in ReplaceHoistedValues() local 130 auto &item = device_map[device]; in ReplaceHoistedValues() 141 const auto &device_map = block_iter.second; in ReplaceHoistedValues() local 144 for (const auto &device_iter : device_map) { in ReplaceHoistedValues()
|
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/ |
D | tpu_variable_runtime_reformatting.cc | 376 auto device_map = devices_attr.getValue(); in HandleReplicateOp() local 378 devices.reserve(device_map.size()); in HandleReplicateOp() 380 for (auto it : device_map) { in HandleReplicateOp()
|
/external/tensorflow/tensorflow/core/data/ |
D | rewrite_utils.cc | 118 std::unordered_map<std::string, tensorflow::DeviceProperties> device_map; in ApplyRewrites() local 119 tensorflow::grappler::VirtualCluster cluster(device_map); in ApplyRewrites()
|
/external/tensorflow/tensorflow/compiler/tf2tensorrt/kernels/ |
D | trt_engine_op.cc | 1062 std::unordered_map<string, tensorflow::DeviceProperties> device_map; in BuildEngine() local 1065 device_map.emplace(ctx->device()->name(), in BuildEngine() 1067 tensorflow::grappler::VirtualCluster cluster(device_map); in BuildEngine() 1337 std::unordered_map<string, tensorflow::DeviceProperties> device_map; in AllocateCalibrationResources() local 1340 device_map.emplace(platform_device_name, in AllocateCalibrationResources() 1342 tensorflow::grappler::VirtualCluster cluster(device_map); in AllocateCalibrationResources()
|
/external/tensorflow/tensorflow/core/common_runtime/ |
D | step_stats_collector.h | 166 const std::unordered_map<string, const Graph*>& device_map);
|
D | step_stats_collector.cc | 261 const std::unordered_map<string, const Graph*>& device_map) { in BuildCostModel() argument 308 for (const auto& itr : device_map) { in BuildCostModel()
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | hlo_sharding.cc | 374 std::map<int64_t, int64_t> device_map; in UsedDevices() local 379 device_map[*unique_device] += 1; in UsedDevices() 386 device_map[*unique_device] += 1; in UsedDevices() 392 return device_map; in UsedDevices()
|
D | hlo_sharding_util.cc | 255 const std::map<int64_t, int64_t>& device_map, int64_t* top_count) { in SelectDominantDevice() argument 258 for (auto& it : device_map) { in SelectDominantDevice() 283 std::map<int64_t, int64_t> device_map; in GetMostOccurringDevice() local 288 device_map[it.first] += it.second; in GetMostOccurringDevice() 292 return SelectDominantDevice(device_map, nullptr); in GetMostOccurringDevice() 298 std::map<int64_t, int64_t> device_map; in GetDominantDevice() local 305 device_map[it.first] += it.second; in GetDominantDevice() 312 std::optional<int64_t> device = SelectDominantDevice(device_map, &count); in GetDominantDevice()
|
D | hlo_sharding_util.h | 62 const std::map<int64_t, int64_t>& device_map, int64_t* top_count);
|
/external/tensorflow/tensorflow/compiler/xla/service/cpu/ |
D | cpu_runtime.cc | 402 absl::flat_hash_map<xla::GlobalDeviceId, int> device_map; in RunCollectiveOp() local 412 device_map[p.device_id] = pos; in RunCollectiveOp() 432 int participant_num = xla::FindOrDie(device_map, device_id); in RunCollectiveOp()
|
/external/mesa3d/src/broadcom/vulkan/ |
D | v3dv_device.c | 1502 device_map(struct v3dv_device *device, struct v3dv_device_memory *mem) in device_map() function 1743 VkResult result = device_map(device, mem); in v3dv_MapMemory()
|