Home
last modified time | relevance | path

Searched refs:num_domains (Results 1 – 8 of 8) sorted by relevance

/external/tensorflow/tensorflow/contrib/gan/python/
Dtrain_test.py123 def stargan_discriminator_model(inputs, num_domains): argument
132 num_outputs=num_domains,
141 def __call__(self, inputs, num_domains): argument
142 return stargan_discriminator_model(inputs, num_domains)
384 def create_input_and_label_tensor(batch_size, img_size, c_size, num_domains): argument
387 for _ in range(num_domains):
391 [batch_size], minval=0, maxval=num_domains, dtype=dtypes.int32)
392 label_tensor_list.append(array_ops.one_hot(domain_idx, num_domains))
413 num_domains = 5
416 batch_size, img_size, c_size, num_domains)
[all …]
Dtrain.py433 batch_size, num_domains = input_data_domain_label.shape.as_list()
438 batch_size, num_domains)
449 generated_data, num_domains)
454 input_data, num_domains)
1299 def _generate_stargan_random_domain_target(batch_size, num_domains): argument
1310 [batch_size], minval=0, maxval=num_domains, dtype=dtypes.int32)
1312 return array_ops.one_hot(domain_idx, num_domains)
/external/tensorflow/tensorflow/contrib/gan/python/eval/python/
Dsummaries_impl.py220 num_domains = stargan_model.input_data_domain_label.get_shape().as_list()[-1]
229 images = array_ops.tile(images, [num_domains, 1, 1, 1])
232 targets = array_ops.one_hot(list(range(num_domains)), num_domains)
242 gen_images_list = array_ops.split(gen_images, num_domains)
251 diff_images_list = array_ops.split(diff_images, num_domains)
260 output_images_list, num_cols=num_domains + 1)
/external/tensorflow/tensorflow/contrib/gan/python/losses/python/
Dtuple_losses_impl.py352 num_domains = stargan_model.input_data_domain_label.shape.as_list()[-1]
356 generator_inputs=num_domains,
Dtuple_losses_test.py198 def _discriminator_fn(inputs, num_domains): argument
204 num_outputs=num_domains,
/external/tensorflow/tensorflow/contrib/gan/python/estimator/python/
Dstargan_estimator_test.py50 def dummy_discriminator_fn(input_data, num_domains, mode): argument
56 inputs=hidden, num_outputs=num_domains, scope='debug')
/external/libevent/
Devdns.c3048 int num_domains; member
3108 base->global_search_state->num_domains++; in search_postfix_add()
3214 base->global_search_state->num_domains) { in search_request_new()
3265 if (handle->search_index >= handle->search_state->num_domains) { in search_try_next()
3653 …DNS_OPTION_SEARCH && (!base->global_search_state || base->global_search_state->num_domains == 0)) { in evdns_base_resolv_conf_parse_impl()
/external/wpa_supplicant_8/hostapd/
Dconfig_file.c3856 int j, num_domains, domain_len, domain_list_len = 0; in hostapd_config_fill() local
3867 num_domains = 1; in hostapd_config_fill()
3869 num_domains++; in hostapd_config_fill()
3873 for (j = 0; j < num_domains; j++) { in hostapd_config_fill()