Home
last modified time | relevance | path

Searched refs:device_str (Results 1 – 15 of 15) sorted by relevance

/external/tensorflow/tensorflow/python/keras/mixed_precision/
Ddevice_compatibility_check.py48 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/
Ddevice_util.py133 def _set_device_from_string(self, device_str): argument
134 self.device = device_str
/external/libpcap/
Dpcap.c2252 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/
Dutils.h60 DeviceProperties GetDeviceInfo(const string& device_str);
Dutils.cc244 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/
Dcsr_sparse_matrix_ops_test.py1402 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/
Dsession_clusterspec_prop_test.py192 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/
Dop_kernel.cc1483 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/
Dtpu.py525 def _set_device_from_string(self, device_str): argument
526 self._device = device_str
/external/selinux/libsepol/src/
Dkernel_to_conf.c3005 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()
Dkernel_to_cil.c3133 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/
Dipp.c7167 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/
Dops.py2372 def _set_device_from_string(self, device_str): argument
2386 device_str)
/external/tensorflow/tensorflow/python/keras/
Dbackend.py852 def _set_device_from_string(self, device_str): argument
853 self.device = device_str
/external/tensorflow/tensorflow/python/kernel_tests/control_flow/
Dcontrol_flow_ops_py_test.py727 def _count_matching_switch_nodes_on_device(self, run_metadata, device_str, argument
733 if device_str in g.node[0].device