id: 1 unit: def group_norm() file: tensorflow_gan/python/features/normalization.py start line: 0 end line: 0 size: 112 LOC McCabe index: 30 number of parameters: 5 id: 2 unit: def gan_loss() file: tensorflow_gan/python/train.py start line: 0 end line: 0 size: 90 LOC McCabe index: 20 number of parameters: 13 id: 3 unit: def __init__() file: tensorflow_gan/python/estimator/tpu_gan_estimator.py start line: 0 end line: 0 size: 84 LOC McCabe index: 9 number of parameters: 13 id: 4 unit: def gan_train_ops() file: tensorflow_gan/python/train.py start line: 0 end line: 0 size: 72 LOC McCabe index: 9 number of parameters: 7 id: 5 unit: def instance_norm() file: tensorflow_gan/python/features/normalization.py start line: 0 end line: 0 size: 69 LOC McCabe index: 17 number of parameters: 11 id: 6 unit: def standardize_batch() file: tensorflow_gan/python/tpu/normalization_ops.py start line: 0 end line: 0 size: 67 LOC McCabe index: 16 number of parameters: 9 id: 7 unit: def kernel_classifier_distance_and_std_from_activations() file: tensorflow_gan/python/eval/classifier_metrics.py start line: 0 end line: 0 size: 60 LOC McCabe index: 2 number of parameters: 4 id: 8 unit: def combine_adversarial_loss() file: tensorflow_gan/python/losses/losses_impl.py start line: 0 end line: 0 size: 60 LOC McCabe index: 13 number of parameters: 9 id: 9 unit: def wasserstein_gradient_penalty() file: tensorflow_gan/python/losses/losses_impl.py start line: 0 end line: 0 size: 59 LOC McCabe index: 3 number of parameters: 13 id: 10 unit: def __init__() file: tensorflow_gan/python/features/virtual_batchnorm.py start line: 0 end line: 0 size: 57 LOC McCabe index: 11 number of parameters: 7 id: 11 unit: def stargan_loss() file: tensorflow_gan/python/train.py start line: 0 end line: 0 size: 55 LOC McCabe index: 5 number of parameters: 2 id: 12 unit: def create_train_op() file: tensorflow_gan/python/contrib_utils.py start line: 0 end line: 0 size: 54 LOC McCabe index: 13 number of parameters: 11 id: 13 unit: def stargan_model() file: tensorflow_gan/python/train.py start line: 0 end line: 0 size: 52 LOC McCabe index: 11 number of parameters: 6 id: 14 unit: def _get_train_op() file: tensorflow_gan/python/estimator/tpu_gan_estimator.py start line: 0 end line: 0 size: 51 LOC McCabe index: 6 number of parameters: 7 id: 15 unit: def infogan_model() file: tensorflow_gan/python/train.py start line: 0 end line: 0 size: 49 LOC McCabe index: 3 number of parameters: 7 id: 16 unit: def __init__() file: tensorflow_gan/python/estimator/gan_estimator.py start line: 0 end line: 0 size: 49 LOC McCabe index: 9 number of parameters: 16 id: 17 unit: def accumulated_moments_for_inference() file: tensorflow_gan/python/tpu/normalization_ops.py start line: 0 end line: 0 size: 48 LOC McCabe index: 8 number of parameters: 3 id: 18 unit: def get_eval_estimator_spec() file: tensorflow_gan/python/estimator/tpu_gan_estimator.py start line: 0 end line: 0 size: 47 LOC McCabe index: 18 number of parameters: 6 id: 19 unit: def args_to_gan_model() file: tensorflow_gan/python/losses/tuple_losses.py start line: 0 end line: 0 size: 46 LOC McCabe index: 15 number of parameters: 1 id: 20 unit: def sliced_wasserstein_distance() file: tensorflow_gan/python/eval/sliced_wasserstein.py start line: 0 end line: 0 size: 45 LOC McCabe index: 11 number of parameters: 8 id: 21 unit: def _frechet_classifier_distance_from_activations_helper() file: tensorflow_gan/python/eval/classifier_metrics.py start line: 0 end line: 0 size: 43 LOC McCabe index: 9 number of parameters: 3 id: 22 unit: def acgan_model() file: tensorflow_gan/python/train.py start line: 0 end line: 0 size: 42 LOC McCabe index: 3 number of parameters: 8 id: 23 unit: def wasserstein_hinge_discriminator_loss() file: tensorflow_gan/python/losses/losses_impl.py start line: 0 end line: 0 size: 42 LOC McCabe index: 2 number of parameters: 10 id: 24 unit: def _test_complete_flow() file: tensorflow_gan/python/estimator/tpu_gan_estimator_test_lib.py start line: 0 end line: 0 size: 41 LOC McCabe index: 4 number of parameters: 7 id: 25 unit: def batch_norm() file: tensorflow_gan/python/tpu/normalization_ops.py start line: 0 end line: 0 size: 41 LOC McCabe index: 7 number of parameters: 8 id: 26 unit: def tensor_pool() file: tensorflow_gan/python/features/random_tensor_pool.py start line: 0 end line: 0 size: 41 LOC McCabe index: 8 number of parameters: 4 id: 27 unit: def streaming_covariance() file: tensorflow_gan/python/eval/eval_utils.py start line: 0 end line: 0 size: 41 LOC McCabe index: 7 number of parameters: 4 id: 28 unit: def least_squares_discriminator_loss() file: tensorflow_gan/python/losses/losses_impl.py start line: 0 end line: 0 size: 41 LOC McCabe index: 2 number of parameters: 10 id: 29 unit: def tensor_pool_adjusted_model() file: tensorflow_gan/python/train.py start line: 0 end line: 0 size: 40 LOC McCabe index: 4 number of parameters: 2 id: 30 unit: def __init__() file: tensorflow_gan/python/estimator/stargan_estimator.py start line: 0 end line: 0 size: 40 LOC McCabe index: 10 number of parameters: 13 id: 31 unit: def moving_moments_for_inference() file: tensorflow_gan/python/tpu/normalization_ops.py start line: 0 end line: 0 size: 39 LOC McCabe index: 7 number of parameters: 4 id: 32 unit: def add_stargan_image_summaries() file: tensorflow_gan/python/eval/summaries.py start line: 0 end line: 0 size: 39 LOC McCabe index: 5 number of parameters: 3 id: 33 unit: def acgan_discriminator_loss() file: tensorflow_gan/python/losses/losses_impl.py start line: 0 end line: 0 size: 38 LOC McCabe index: 2 number of parameters: 10 id: 34 unit: def minimax_discriminator_loss() file: tensorflow_gan/python/losses/losses_impl.py start line: 0 end line: 0 size: 38 LOC McCabe index: 2 number of parameters: 9 id: 35 unit: def test_numpy_input_fn() file: tensorflow_gan/python/estimator/tpu_gan_estimator_test_lib.py start line: 0 end line: 0 size: 37 LOC McCabe index: 3 number of parameters: 4 id: 36 unit: def test_train() file: tensorflow_gan/python/estimator/tpu_gan_estimator_test_lib.py start line: 0 end line: 0 size: 37 LOC McCabe index: 4 number of parameters: 7 id: 37 unit: def _test_warm_start() file: tensorflow_gan/python/estimator/tpu_gan_estimator_test_lib.py start line: 0 end line: 0 size: 37 LOC McCabe index: 2 number of parameters: 2 id: 38 unit: def wasserstein_discriminator_loss() file: tensorflow_gan/python/losses/losses_impl.py start line: 0 end line: 0 size: 37 LOC McCabe index: 2 number of parameters: 8 id: 39 unit: def _get_latent_gan_model_fn() file: tensorflow_gan/python/estimator/latent_gan_estimator.py start line: 0 end line: 0 size: 36 LOC McCabe index: 2 number of parameters: 4 id: 40 unit: def compute_spectral_norm() file: tensorflow_gan/python/features/spectral_normalization.py start line: 0 end line: 0 size: 35 LOC McCabe index: 8 number of parameters: 4 id: 41 unit: def gan_train() file: tensorflow_gan/python/train.py start line: 0 end line: 0 size: 34 LOC McCabe index: 3 number of parameters: 3 id: 42 unit: def gan_model() file: tensorflow_gan/python/train.py start line: 0 end line: 0 size: 33 LOC McCabe index: 3 number of parameters: 7 id: 43 unit: def train_step() file: tensorflow_gan/python/train.py start line: 0 end line: 0 size: 33 LOC McCabe index: 8 number of parameters: 4 id: 44 unit: def cyclegan_model() file: tensorflow_gan/python/train.py start line: 0 end line: 0 size: 32 LOC McCabe index: 3 number of parameters: 9 id: 45 unit: def laplacian_pyramid() file: tensorflow_gan/python/eval/sliced_wasserstein.py start line: 0 end line: 0 size: 31 LOC McCabe index: 2 number of parameters: 2 id: 46 unit: def add_gan_model_image_summaries() file: tensorflow_gan/python/eval/summaries.py start line: 0 end line: 0 size: 30 LOC McCabe index: 3 number of parameters: 3 id: 47 unit: def _classifier_score_from_logits_helper() file: tensorflow_gan/python/eval/classifier_metrics.py start line: 0 end line: 0 size: 30 LOC McCabe index: 10 number of parameters: 2 id: 48 unit: def cyclegan_loss() file: tensorflow_gan/python/train.py start line: 0 end line: 0 size: 28 LOC McCabe index: 3 number of parameters: 6 id: 49 unit: def _make_prediction_gan_model() file: tensorflow_gan/python/estimator/stargan_estimator.py start line: 0 end line: 0 size: 28 LOC McCabe index: 2 number of parameters: 4 id: 50 unit: def image_grid() file: tensorflow_gan/python/eval/eval_utils.py start line: 0 end line: 0 size: 28 LOC McCabe index: 8 number of parameters: 4 id: 51 unit: def spectral_normalization_custom_getter() file: tensorflow_gan/python/features/spectral_normalization.py start line: 0 end line: 0 size: 27 LOC McCabe index: 5 number of parameters: 4 id: 52 unit: def add_image_comparison_summaries() file: tensorflow_gan/python/eval/summaries.py start line: 0 end line: 0 size: 27 LOC McCabe index: 4 number of parameters: 3 id: 53 unit: def _get_eval_estimator_spec() file: tensorflow_gan/python/estimator/stargan_estimator.py start line: 0 end line: 0 size: 25 LOC McCabe index: 4 number of parameters: 4 id: 54 unit: def get_sequential_train_steps() file: tensorflow_gan/python/train.py start line: 0 end line: 0 size: 24 LOC McCabe index: 6 number of parameters: 2 id: 55 unit: def get_estimator_spec() file: tensorflow_gan/python/estimator/stargan_estimator.py start line: 0 end line: 0 size: 24 LOC McCabe index: 5 number of parameters: 7 id: 56 unit: def add_cyclegan_image_summaries() file: tensorflow_gan/python/eval/summaries.py start line: 0 end line: 0 size: 24 LOC McCabe index: 2 number of parameters: 1 id: 57 unit: def kernel_classifier_distance_and_std() file: tensorflow_gan/python/eval/classifier_metrics.py start line: 0 end line: 0 size: 24 LOC McCabe index: 1 number of parameters: 6 id: 58 unit: def mutual_information_penalty() file: tensorflow_gan/python/losses/losses_impl.py start line: 0 end line: 0 size: 24 LOC McCabe index: 3 number of parameters: 7 id: 59 unit: def _frechet_classifier_distance_helper() file: tensorflow_gan/python/eval/classifier_metrics.py start line: 0 end line: 0 size: 23 LOC McCabe index: 1 number of parameters: 5 id: 60 unit: def diagonal_only_frechet_classifier_distance_from_activations() file: tensorflow_gan/python/eval/classifier_metrics.py start line: 0 end line: 0 size: 23 LOC McCabe index: 5 number of parameters: 2 id: 61 unit: def compute_gradients() file: tensorflow_gan/python/estimator/tpu_gan_estimator_test_lib.py start line: 0 end line: 0 size: 22 LOC McCabe index: 1 number of parameters: 5 id: 62 unit: def _get_gan_model_fns() file: tensorflow_gan/python/estimator/tpu_gan_estimator.py start line: 0 end line: 0 size: 22 LOC McCabe index: 5 number of parameters: 8 id: 63 unit: def _make_gan_model_fns() file: tensorflow_gan/python/estimator/tpu_gan_estimator.py start line: 0 end line: 0 size: 22 LOC McCabe index: 4 number of parameters: 8 id: 64 unit: def spectral_norm_regularizer() file: tensorflow_gan/python/features/spectral_normalization.py start line: 0 end line: 0 size: 22 LOC McCabe index: 5 number of parameters: 4 id: 65 unit: def streaming_mean_tensor_float64() file: tensorflow_gan/python/eval/eval_utils.py start line: 0 end line: 0 size: 22 LOC McCabe index: 4 number of parameters: 3 id: 66 unit: def sample_and_run_classifier_fn() file: tensorflow_gan/python/eval/classifier_metrics.py start line: 0 end line: 0 size: 22 LOC McCabe index: 2 number of parameters: 5 id: 67 unit: def _make_gan_model() file: tensorflow_gan/python/estimator/gan_estimator.py start line: 0 end line: 0 size: 21 LOC McCabe index: 6 number of parameters: 8 id: 68 unit: def make_prediction_gan_model() file: tensorflow_gan/python/estimator/gan_estimator.py start line: 0 end line: 0 size: 21 LOC McCabe index: 2 number of parameters: 3 id: 69 unit: def get_dummy_gan_model() file: tensorflow_gan/python/estimator/tpu_gan_estimator_test_lib.py start line: 0 end line: 0 size: 21 LOC McCabe index: 2 number of parameters: 1 id: 70 unit: def acgan_generator_loss() file: tensorflow_gan/python/losses/losses_impl.py start line: 0 end line: 0 size: 21 LOC McCabe index: 2 number of parameters: 7 id: 71 unit: def _ensure_tf_install() file: tensorflow_gan/__init__.py start line: 0 end line: 0 size: 21 LOC McCabe index: 3 number of parameters: 0 id: 72 unit: def test_get_train_estimator_spec() file: tensorflow_gan/python/estimator/tpu_gan_estimator_test_lib.py start line: 0 end line: 0 size: 20 LOC McCabe index: 2 number of parameters: 2 id: 73 unit: def _make_gan_model() file: tensorflow_gan/python/estimator/stargan_estimator.py start line: 0 end line: 0 size: 20 LOC McCabe index: 6 number of parameters: 7 id: 74 unit: def run_classifier_fn() file: tensorflow_gan/python/eval/classifier_metrics.py start line: 0 end line: 0 size: 20 LOC McCabe index: 2 number of parameters: 5 id: 75 unit: def modified_discriminator_loss() file: tensorflow_gan/python/losses/losses_impl.py start line: 0 end line: 0 size: 20 LOC McCabe index: 2 number of parameters: 9 id: 76 unit: def cycle_consistency_loss() file: tensorflow_gan/python/losses/losses_impl.py start line: 0 end line: 0 size: 20 LOC McCabe index: 2 number of parameters: 6 id: 77 unit: def relativistic_discriminator_loss() file: tensorflow_gan/python/losses/losses_impl.py start line: 0 end line: 0 size: 20 LOC McCabe index: 1 number of parameters: 3 id: 78 unit: def relativistic_generator_loss() file: tensorflow_gan/python/losses/losses_impl.py start line: 0 end line: 0 size: 20 LOC McCabe index: 1 number of parameters: 3 id: 79 unit: def run_tests() file: setup.py start line: 0 end line: 0 size: 20 LOC McCabe index: 2 number of parameters: 1 id: 80 unit: def get_gan_model() file: tensorflow_gan/python/estimator/gan_estimator.py start line: 0 end line: 0 size: 19 LOC McCabe index: 4 number of parameters: 8 id: 81 unit: def get_eval_estimator_spec() file: tensorflow_gan/python/estimator/gan_estimator.py start line: 0 end line: 0 size: 19 LOC McCabe index: 3 number of parameters: 3 id: 82 unit: def least_squares_generator_loss() file: tensorflow_gan/python/losses/losses_impl.py start line: 0 end line: 0 size: 19 LOC McCabe index: 2 number of parameters: 7 id: 83 unit: def _ensure_tfp_install() file: tensorflow_gan/__init__.py start line: 0 end line: 0 size: 19 LOC McCabe index: 3 number of parameters: 0 id: 84 unit: def _get_update_ops() file: tensorflow_gan/python/train.py start line: 0 end line: 0 size: 18 LOC McCabe index: 4 number of parameters: 4 id: 85 unit: def _clip_sparse() file: tensorflow_gan/python/features/clip_weights.py start line: 0 end line: 0 size: 18 LOC McCabe index: 3 number of parameters: 3 id: 86 unit: def python_image_grid() file: tensorflow_gan/python/eval/eval_utils.py start line: 0 end line: 0 size: 18 LOC McCabe index: 3 number of parameters: 2 id: 87 unit: def combine_adversarial_loss() file: tensorflow_gan/python/losses/tuple_losses.py start line: 0 end line: 0 size: 18 LOC McCabe index: 1 number of parameters: 8 id: 88 unit: def get_latent_gan_estimator() file: tensorflow_gan/python/estimator/latent_gan_estimator.py start line: 0 end line: 0 size: 17 LOC McCabe index: 6 number of parameters: 8 id: 89 unit: def __call__() file: tensorflow_gan/python/features/virtual_batchnorm.py start line: 0 end line: 0 size: 17 LOC McCabe index: 1 number of parameters: 2 id: 90 unit: def add_regularization_loss_summaries() file: tensorflow_gan/python/eval/summaries.py start line: 0 end line: 0 size: 17 LOC McCabe index: 4 number of parameters: 1 id: 91 unit: def _classifier_score_helper() file: tensorflow_gan/python/eval/classifier_metrics.py start line: 0 end line: 0 size: 17 LOC McCabe index: 2 number of parameters: 4 id: 92 unit: def add_gradients_summaries() file: tensorflow_gan/python/contrib_utils.py start line: 0 end line: 0 size: 17 LOC McCabe index: 4 number of parameters: 1 id: 93 unit: def test_get_eval_estimator_spec() file: tensorflow_gan/python/estimator/tpu_gan_estimator_test_lib.py start line: 0 end line: 0 size: 16 LOC McCabe index: 1 number of parameters: 1 id: 94 unit: def test_get_eval_estimator_spec_custom_metric_args() file: tensorflow_gan/python/estimator/tpu_gan_estimator_test_lib.py start line: 0 end line: 0 size: 16 LOC McCabe index: 1 number of parameters: 1 id: 95 unit: def cross_replica_mean() file: tensorflow_gan/python/tpu/cross_replica_ops.py start line: 0 end line: 0 size: 16 LOC McCabe index: 6 number of parameters: 2 id: 96 unit: def apply_gradients() file: tensorflow_gan/python/features/clip_weights.py start line: 0 end line: 0 size: 16 LOC McCabe index: 5 number of parameters: 4 id: 97 unit: def mean_only_frechet_classifier_distance_from_activations() file: tensorflow_gan/python/eval/classifier_metrics.py start line: 0 end line: 0 size: 16 LOC McCabe index: 3 number of parameters: 2 id: 98 unit: def wasserstein_generator_loss() file: tensorflow_gan/python/losses/losses_impl.py start line: 0 end line: 0 size: 16 LOC McCabe index: 2 number of parameters: 6 id: 99 unit: def minimax_generator_loss() file: tensorflow_gan/python/losses/losses_impl.py start line: 0 end line: 0 size: 16 LOC McCabe index: 2 number of parameters: 7 id: 100 unit: def modified_generator_loss() file: tensorflow_gan/python/losses/losses_impl.py start line: 0 end line: 0 size: 16 LOC McCabe index: 2 number of parameters: 7 id: 101 unit: def apply_gradients() file: tensorflow_gan/python/estimator/tpu_gan_estimator_test_lib.py start line: 0 end line: 0 size: 15 LOC McCabe index: 2 number of parameters: 4 id: 102 unit: def get_gan_model() file: tensorflow_gan/python/estimator/stargan_estimator.py start line: 0 end line: 0 size: 15 LOC McCabe index: 3 number of parameters: 7 id: 103 unit: def _get_train_estimator_spec() file: tensorflow_gan/python/estimator/stargan_estimator.py start line: 0 end line: 0 size: 15 LOC McCabe index: 1 number of parameters: 6 id: 104 unit: def vbn_statistics() file: tensorflow_gan/python/features/virtual_batchnorm.py start line: 0 end line: 0 size: 15 LOC McCabe index: 6 number of parameters: 2 id: 105 unit: def _batch_to_patches() file: tensorflow_gan/python/eval/sliced_wasserstein.py start line: 0 end line: 0 size: 15 LOC McCabe index: 2 number of parameters: 3 id: 106 unit: def image_reshaper() file: tensorflow_gan/python/eval/eval_utils.py start line: 0 end line: 0 size: 15 LOC McCabe index: 8 number of parameters: 2 id: 107 unit: def stargan_gradient_penalty_wrapper() file: tensorflow_gan/python/losses/tuple_losses.py start line: 0 end line: 0 size: 15 LOC McCabe index: 1 number of parameters: 1 id: 108 unit: def _sliced_wasserstein() file: tensorflow_gan/python/eval/sliced_wasserstein.py start line: 0 end line: 0 size: 14 LOC McCabe index: 3 number of parameters: 4 id: 109 unit: def get_train_estimator_spec() file: tensorflow_gan/python/estimator/gan_estimator.py start line: 0 end line: 0 size: 13 LOC McCabe index: 2 number of parameters: 6 id: 110 unit: def cross_replica_moments() file: tensorflow_gan/python/tpu/cross_replica_ops.py start line: 0 end line: 0 size: 13 LOC McCabe index: 3 number of parameters: 4 id: 111 unit: def condition_tensor() file: tensorflow_gan/python/features/conditioning_utils.py start line: 0 end line: 0 size: 13 LOC McCabe index: 3 number of parameters: 2 id: 112 unit: def __init__() file: tensorflow_gan/python/features/clip_weights.py start line: 0 end line: 0 size: 13 LOC McCabe index: 2 number of parameters: 7 id: 113 unit: def add_gan_model_summaries() file: tensorflow_gan/python/eval/summaries.py start line: 0 end line: 0 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 114 unit: def kernel_classifier_distance() file: tensorflow_gan/python/eval/classifier_metrics.py start line: 0 end line: 0 size: 13 LOC McCabe index: 1 number of parameters: 6 id: 115 unit: def _track_calls() file: tensorflow_gan/python/estimator/tpu_gan_estimator_test_lib.py start line: 0 end line: 0 size: 12 LOC McCabe index: 1 number of parameters: 2 id: 116 unit: def _validate_init_input_and_get_axis() file: tensorflow_gan/python/features/virtual_batchnorm.py start line: 0 end line: 0 size: 12 LOC McCabe index: 5 number of parameters: 2 id: 117 unit: def spectral_normalize() file: tensorflow_gan/python/features/spectral_normalization.py start line: 0 end line: 0 size: 12 LOC McCabe index: 2 number of parameters: 5 id: 118 unit: def classifier_fn_from_tfhub() file: tensorflow_gan/python/eval/inception_metrics.py start line: 0 end line: 0 size: 12 LOC McCabe index: 5 number of parameters: 3 id: 119 unit: def test_warm_start_success() file: tensorflow_gan/python/estimator/tpu_gan_estimator_test_lib.py start line: 0 end line: 0 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 120 unit: def get_train_estimator_spec() file: tensorflow_gan/python/estimator/tpu_gan_estimator.py start line: 0 end line: 0 size: 11 LOC McCabe index: 3 number of parameters: 8 id: 121 unit: def _predictions_from_generator_output() file: tensorflow_gan/python/estimator/tpu_gan_estimator.py start line: 0 end line: 0 size: 11 LOC McCabe index: 4 number of parameters: 1 id: 122 unit: def clip_variables() file: tensorflow_gan/python/features/clip_weights.py start line: 0 end line: 0 size: 11 LOC McCabe index: 3 number of parameters: 3 id: 123 unit: def _get_streaming_variable() file: tensorflow_gan/python/eval/eval_utils.py start line: 0 end line: 0 size: 11 LOC McCabe index: 1 number of parameters: 2 id: 124 unit: def _validate_aux_loss_weight() file: tensorflow_gan/python/train.py start line: 0 end line: 0 size: 10 LOC McCabe index: 4 number of parameters: 2 id: 125 unit: def get_joint_train_hooks() file: tensorflow_gan/python/train.py start line: 0 end line: 0 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 126 unit: def _validate_input_args() file: tensorflow_gan/python/estimator/gan_estimator.py start line: 0 end line: 0 size: 10 LOC McCabe index: 6 number of parameters: 4 id: 127 unit: def setUpClass() file: tensorflow_gan/python/estimator/tpu_gan_estimator_test_lib.py start line: 0 end line: 0 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 128 unit: def _validate_input_args() file: tensorflow_gan/python/estimator/tpu_gan_estimator.py start line: 0 end line: 0 size: 10 LOC McCabe index: 4 number of parameters: 3 id: 129 unit: def kl_divergence() file: tensorflow_gan/python/eval/classifier_metrics.py start line: 0 end line: 0 size: 10 LOC McCabe index: 4 number of parameters: 3 id: 130 unit: def frechet_classifier_distance() file: tensorflow_gan/python/eval/classifier_metrics.py start line: 0 end line: 0 size: 10 LOC McCabe index: 1 number of parameters: 4 id: 131 unit: def frechet_classifier_distance_streaming() file: tensorflow_gan/python/eval/classifier_metrics.py start line: 0 end line: 0 size: 10 LOC McCabe index: 1 number of parameters: 4 id: 132 unit: def get_variables() file: tensorflow_gan/python/contrib_utils.py start line: 0 end line: 0 size: 10 LOC McCabe index: 5 number of parameters: 3 id: 133 unit: def numerically_stable_global_norm() file: tensorflow_gan/python/losses/losses_impl.py start line: 0 end line: 0 size: 10 LOC McCabe index: 7 number of parameters: 1 id: 134 unit: def stargan_discriminator_loss_wrapper() file: tensorflow_gan/python/losses/tuple_losses.py start line: 0 end line: 0 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 135 unit: def _validate_gan_train_inputs() file: tensorflow_gan/python/train.py start line: 0 end line: 0 size: 9 LOC McCabe index: 5 number of parameters: 4 id: 136 unit: def _convert_tensor_or_l_or_d() file: tensorflow_gan/python/train.py start line: 0 end line: 0 size: 9 LOC McCabe index: 5 number of parameters: 1 id: 137 unit: def extract_gan_loss_args_from_params() file: tensorflow_gan/python/estimator/gan_estimator.py start line: 0 end line: 0 size: 9 LOC McCabe index: 5 number of parameters: 1 id: 138 unit: def _maybe_make_cross_shard_optimizers() file: tensorflow_gan/python/estimator/tpu_gan_estimator.py start line: 0 end line: 0 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 139 unit: def cycle_consistency_loss() file: tensorflow_gan/python/losses/tuple_losses.py start line: 0 end line: 0 size: 9 LOC McCabe index: 2 number of parameters: 3 id: 140 unit: def stargan_generator_loss_wrapper() file: tensorflow_gan/python/losses/tuple_losses.py start line: 0 end line: 0 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 141 unit: def _use_aux_loss() file: tensorflow_gan/python/train.py start line: 0 end line: 0 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 142 unit: def get_sequential_train_hooks() file: tensorflow_gan/python/train.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 143 unit: def _validate_distributions() file: tensorflow_gan/python/train.py start line: 0 end line: 0 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 144 unit: def _validate_acgan_discriminator_outputs() file: tensorflow_gan/python/train.py start line: 0 end line: 0 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 145 unit: def prepare_arguments_for_metric_fn() file: tensorflow_gan/python/estimator/tpu_gan_estimator_test_lib.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 5 id: 146 unit: def test_get_predict_estimator_spec() file: tensorflow_gan/python/estimator/tpu_gan_estimator_test_lib.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 147 unit: def _slice_data() file: tensorflow_gan/python/estimator/tpu_gan_estimator.py start line: 0 end line: 0 size: 8 LOC McCabe index: 6 number of parameters: 2 id: 148 unit: def get_predict_estimator_spec() file: tensorflow_gan/python/estimator/tpu_gan_estimator.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 149 unit: def _get_loss_for_train() file: tensorflow_gan/python/estimator/tpu_gan_estimator.py start line: 0 end line: 0 size: 8 LOC McCabe index: 2 number of parameters: 4 id: 150 unit: def _make_custom_metric_tensors() file: tensorflow_gan/python/estimator/tpu_gan_estimator.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 151 unit: def _validate_call_input() file: tensorflow_gan/python/features/virtual_batchnorm.py start line: 0 end line: 0 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 152 unit: def reference_batch_normalization() file: tensorflow_gan/python/features/virtual_batchnorm.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 153 unit: def _clip_dense() file: tensorflow_gan/python/features/clip_weights.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 154 unit: def _sliced_wasserstein_svd() file: tensorflow_gan/python/eval/sliced_wasserstein.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 155 unit: def _with_dependencies() file: tensorflow_gan/python/contrib_utils.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 156 unit: def batch_to_space() file: tensorflow_gan/python/contrib_utils.py start line: 0 end line: 0 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 157 unit: def _validate_distributions() file: tensorflow_gan/python/losses/losses_impl.py start line: 0 end line: 0 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 158 unit: def _validate_information_penalty_inputs() file: tensorflow_gan/python/losses/losses_impl.py start line: 0 end line: 0 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 159 unit: def _num_joint_steps() file: tensorflow_gan/python/train.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 160 unit: def get_metrics() file: tensorflow_gan/python/estimator/tpu_gan_estimator_test_lib.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 5 id: 161 unit: def _required_train_models() file: tensorflow_gan/python/estimator/tpu_gan_estimator.py start line: 0 end line: 0 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 162 unit: def _is_on_tpu() file: tensorflow_gan/python/estimator/tpu_gan_estimator.py start line: 0 end line: 0 size: 7 LOC McCabe index: 3 number of parameters: 3 id: 163 unit: def _maybe_add_summaries() file: tensorflow_gan/python/estimator/tpu_gan_estimator.py start line: 0 end line: 0 size: 7 LOC McCabe index: 4 number of parameters: 2 id: 164 unit: def _make_default_metric_fn() file: tensorflow_gan/python/estimator/tpu_gan_estimator.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 165 unit: def _virtual_statistics() file: tensorflow_gan/python/features/virtual_batchnorm.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 166 unit: def _get_shape() file: tensorflow_gan/python/features/conditioning_utils.py start line: 0 end line: 0 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 167 unit: def _one_hot_to_embedding() file: tensorflow_gan/python/features/conditioning_utils.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 168 unit: def _validate_args() file: tensorflow_gan/python/losses/losses_impl.py start line: 0 end line: 0 size: 7 LOC McCabe index: 5 number of parameters: 2 id: 169 unit: def generate_stargan_random_domain_target() file: tensorflow_gan/python/train.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 170 unit: def _maybe_construct_optimizers() file: tensorflow_gan/python/estimator/gan_estimator.py start line: 0 end line: 0 size: 6 LOC McCabe index: 3 number of parameters: 1 id: 171 unit: def get_metrics_custom_args() file: tensorflow_gan/python/estimator/tpu_gan_estimator_test_lib.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 172 unit: def setUp() file: tensorflow_gan/python/estimator/tpu_gan_estimator_test_lib.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 173 unit: def _maybe_construct_optimizers() file: tensorflow_gan/python/estimator/tpu_gan_estimator.py start line: 0 end line: 0 size: 6 LOC McCabe index: 3 number of parameters: 1 id: 174 unit: def _maybe_colocate_with() file: tensorflow_gan/python/features/clip_weights.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 175 unit: def _validate_images() file: tensorflow_gan/python/eval/eval_utils.py start line: 0 end line: 0 size: 6 LOC McCabe index: 3 number of parameters: 1 id: 176 unit: def kernel_classifier_distance_from_activations() file: tensorflow_gan/python/eval/classifier_metrics.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 4 id: 177 unit: def __init__() file: tensorflow_gan/python/train.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 3 id: 178 unit: def __new__() file: tensorflow_gan/python/namedtuples.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 5 id: 179 unit: def __init__() file: tensorflow_gan/python/estimator/tpu_gan_estimator_test_lib.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 180 unit: def tearDown() file: tensorflow_gan/python/estimator/tpu_gan_estimator_test_lib.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 181 unit: def tearDown() file: tensorflow_gan/python/estimator/tpu_gan_estimator_test_lib.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 182 unit: def _make_default_metric_tensors() file: tensorflow_gan/python/estimator/tpu_gan_estimator.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 183 unit: def _broadcast() file: tensorflow_gan/python/features/virtual_batchnorm.py start line: 0 end line: 0 size: 5 LOC McCabe index: 4 number of parameters: 3 id: 184 unit: def _normalize_patches() file: tensorflow_gan/python/eval/sliced_wasserstein.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 185 unit: def generator_fn() file: tensorflow_gan/python/estimator/tpu_gan_estimator_test_lib.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 186 unit: def setUp() file: tensorflow_gan/python/estimator/tpu_gan_estimator_test_lib.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 187 unit: def setUp() file: tensorflow_gan/python/estimator/tpu_gan_estimator_test_lib.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 188 unit: def stargan_prediction_input_fn_wrapper() file: tensorflow_gan/python/estimator/stargan_estimator.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 189 unit: def _static_or_dynamic_batch_size() file: tensorflow_gan/python/features/virtual_batchnorm.py start line: 0 end line: 0 size: 4 LOC McCabe index: 2 number of parameters: 2 id: 190 unit: def condition_tensor_from_onehot() file: tensorflow_gan/python/features/conditioning_utils.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 191 unit: def _sort_rows() file: tensorflow_gan/python/eval/sliced_wasserstein.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 192 unit: def _symmetric_matrix_square_root() file: tensorflow_gan/python/eval/classifier_metrics.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 193 unit: def trace_sqrt_product() file: tensorflow_gan/python/eval/classifier_metrics.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 194 unit: def frechet_classifier_distance_from_activations_streaming() file: tensorflow_gan/python/eval/classifier_metrics.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 195 unit: def _used_weight() file: tensorflow_gan/python/losses/losses_impl.py start line: 0 end line: 0 size: 4 LOC McCabe index: 3 number of parameters: 1 id: 196 unit: def writeln() file: setup.py start line: 0 end line: 0 size: 4 LOC McCabe index: 3 number of parameters: 3 id: 197 unit: def before_run() file: tensorflow_gan/python/train.py start line: 0 end line: 0 size: 3 LOC McCabe index: 2 number of parameters: 2 id: 198 unit: def get_predict_estimator_spec() file: tensorflow_gan/python/estimator/gan_estimator.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 199 unit: def discriminator_fn() file: tensorflow_gan/python/estimator/tpu_gan_estimator_test_lib.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 200 unit: def tearDown() file: tensorflow_gan/python/estimator/tpu_gan_estimator_test_lib.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 201 unit: def test_warm_start_error() file: tensorflow_gan/python/estimator/tpu_gan_estimator_test_lib.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 202 unit: def _validate_onehot() file: tensorflow_gan/python/features/conditioning_utils.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 203 unit: def _default_name_filter() file: tensorflow_gan/python/features/spectral_normalization.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 204 unit: def _assert_is_image() file: tensorflow_gan/python/eval/summaries.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 205 unit: def classifier_score() file: tensorflow_gan/python/eval/classifier_metrics.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 206 unit: def classifier_score_streaming() file: tensorflow_gan/python/eval/classifier_metrics.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 207 unit: def frechet_classifier_distance_from_activations() file: tensorflow_gan/python/eval/classifier_metrics.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 208 unit: def get_trainable_variables() file: tensorflow_gan/python/contrib_utils.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 209 unit: def get_variables_by_name() file: tensorflow_gan/python/contrib_utils.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 210 unit: def _to_list() file: tensorflow_gan/python/features/random_tensor_pool.py start line: 0 end line: 0 size: 2 LOC McCabe index: 2 number of parameters: 1 id: 211 unit: def clip_discriminator_weights() file: tensorflow_gan/python/features/clip_weights.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 3 id: 212 unit: def compute_gradients() file: tensorflow_gan/python/features/clip_weights.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 3 id: 213 unit: def get_slot() file: tensorflow_gan/python/features/clip_weights.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 3 id: 214 unit: def get_slot_names() file: tensorflow_gan/python/features/clip_weights.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 3 id: 215 unit: def _to_float() file: tensorflow_gan/python/eval/sliced_wasserstein.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 216 unit: def _to_float() file: tensorflow_gan/python/eval/summaries.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 217 unit: def classifier_score_from_logits() file: tensorflow_gan/python/eval/classifier_metrics.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 218 unit: def classifier_score_from_logits_streaming() file: tensorflow_gan/python/eval/classifier_metrics.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 219 unit: def _to_float() file: tensorflow_gan/python/losses/losses_impl.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 220 unit: def write() file: setup.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 3 id: 221 unit: def has_ext_modules() file: setup.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1