/external/tensorflow/tensorflow/python/keras/mixed_precision/ |
D | device_compatibility_check.py | 48 for device_str, vals in itertools.groupby(device_strs): 51 new_device_strs.append(device_str) 53 new_device_strs.append('%s (x%d)' % (device_str, num)) 78 device_str = '%s, compute capability %s.%s' % (name, cc[0], cc[1]) 80 supported_device_strs.append(device_str) 82 unsupported_device_strs.append(device_str) 101 for device_str in _dedup_strings(supported_device_strs + 103 warning_str += ' ' + device_str + '\n'
|
/external/tensorflow/tensorflow/python/distribute/ |
D | device_util.py | 133 def _set_device_from_string(self, device_str): argument 134 self.device = device_str
|
/external/libpcap/ |
D | pcap.c | 2252 char *device_str; local 2262 device_str = strdup("any"); 2305 device_str = (char *)malloc(length + 1); 2306 if (device_str == NULL) { 2313 snprintf(device_str, length + 1, "%ws", 2317 device_str = strdup(device); 2319 if (device_str == NULL) { 2332 p = capture_source_types[i].create_op(device_str, errbuf, 2348 free(device_str); 2351 p->opt.device = device_str; [all …]
|
/external/tensorflow/tensorflow/core/grappler/costs/ |
D | utils.h | 60 DeviceProperties GetDeviceInfo(const string& device_str);
|
D | utils.cc | 244 DeviceProperties GetDeviceInfo(const string& device_str) { in GetDeviceInfo() argument 249 if (DeviceNameUtils::ParseFullName(device_str, &parsed)) { in GetDeviceInfo()
|
/external/tensorflow/tensorflow/python/kernel_tests/linalg/sparse/ |
D | csr_sparse_matrix_ops_test.py | 1402 device_str = "cpu" if device == CPU else "gpu" 1442 (device_str, "sparse_matrix", num_rows, transpose, num_threads), 1452 (device_str, "sparse_tensor", num_rows, transpose, num_threads), 1498 device_str = "cpu" if device == CPU else "gpu" 1503 (device_str, dense_shape[-1], batch_size, num_threads), 1537 device_str = "cpu" if device == CPU else "gpu" 1544 (device_str, dense_shape[-1], batch_size, num_threads), 1556 (device_str, dense_shape[-1], batch_size, num_threads),
|
/external/tensorflow/tensorflow/python/client/ |
D | session_clusterspec_prop_test.py | 192 device_str = '/job:worker/task:0/device:GPU:0' 194 device_str = '/job:worker/task:0/cpu:1' 195 with ops.device(device_str):
|
/external/tensorflow/tensorflow/core/framework/ |
D | op_kernel.cc | 1483 const std::string device_str = DeviceTypeString(device_type); in FindKernelDef() local 1485 "No registered '", node_op, "' OpKernel for ", device_str, in FindKernelDef() 1500 if (!absl::StrContains(device_str, "JIT") && in FindKernelDef()
|
/external/tensorflow/tensorflow/python/tpu/ |
D | tpu.py | 525 def _set_device_from_string(self, device_str): argument 526 self._device = device_str
|
/external/selinux/libsepol/src/ |
D | kernel_to_conf.c | 3005 char device_str[20]; /* 2^64-1 <= 16 digits (hex) so < 19 chars */ in write_xen_pcidevice_rules_to_conf() local 3010 rc = snprintf(device_str, 20, "0x%lx", (unsigned long)pcid->u.device); in write_xen_pcidevice_rules_to_conf() 3022 sepol_printf(out, "pcidevicecon %s %s\n", device_str, ctx); in write_xen_pcidevice_rules_to_conf()
|
D | kernel_to_cil.c | 3133 char device_str[20]; /* 2^64-1 <= 16 digits (hex) so (low high) < 19 chars */ in write_xen_pcidevice_rules_to_cil() local 3138 rc = snprintf(device_str, 20, "0x%lx", (unsigned long)pcid->u.device); in write_xen_pcidevice_rules_to_cil() 3150 sepol_printf(out, "(pcidevicecon %s %s)\n", device_str, ctx); in write_xen_pcidevice_rules_to_cil()
|
/external/libcups/scheduler/ |
D | ipp.c | 7167 device_str[256],/* Escaped ppd-device-id string */ in get_ppds() local 7228 url_encode_attr(device, device_str, sizeof(device_str)); in get_ppds() 7230 device_str[0] = '\0'; in get_ppds() 7284 device ? "%20" : "", device_str, in get_ppds()
|
/external/tensorflow/tensorflow/python/framework/ |
D | ops.py | 2372 def _set_device_from_string(self, device_str): argument 2386 device_str)
|
/external/tensorflow/tensorflow/python/keras/ |
D | backend.py | 852 def _set_device_from_string(self, device_str): argument 853 self.device = device_str
|
/external/tensorflow/tensorflow/python/kernel_tests/control_flow/ |
D | control_flow_ops_py_test.py | 727 def _count_matching_switch_nodes_on_device(self, run_metadata, device_str, argument 733 if device_str in g.node[0].device
|