def default_batch_norm_params(is_training=False):
    """Returns default batch normalization parameters for DSNs.

    Args:
      is_training: whether or not the model is training.

    Returns:
      a dictionary that maps batch norm parameter names (strings) to values.
    """
    return {
        # Decay for the moving averages.
        'decay': 0.5,
        # epsilon to prevent 0s in variance.
        'epsilon': 0.001,
        'is_training': is_training
    }