Searched refs:named_device (Results 1 – 3 of 3) sorted by relevance
38 tensorflow::NamedDevice named_device; in _PyObjAs() local39 if (!named_device.ParseFromString(string(c_string, py_size))) { in _PyObjAs()45 if (out) *out = named_device; in _PyObjAs()153 for (const auto& named_device : named_devices) { in TF_NewVirtualCluster() local154 devices[named_device.name()]= named_device.properties(); in TF_NewVirtualCluster()
103 named_device = device_properties_pb2.NamedDevice(108 devices=[named_device])113 estimated_perf = grappler_cluster.EstimatePerformance(named_device)
184 named_device = device_properties_pb2.NamedDevice()185 named_device.name = '/GPU:0'186 named_device.properties.type = 'GPU'187 named_device.properties.num_cores = 24188 named_device.properties.frequency = 1000189 named_device.properties.environment['architecture'] = '4'190 cluster = gcluster.Cluster(devices=[named_device])