def repository_url_part(distro):
    if distro.normalized_release.int_major >= 6:
        if distro.normalized_name == 'redhat':
            return 'rhel' + distro.normalized_release.major
        if distro.normalized_name in ['centos', 'scientific']:
            return 'el' + distro.normalized_release.major

    return 'el6'
Applies the tanh nonlinearity over the convolutional layer.
dataset/ETHPy150Open ceph/ceph-deploy/ceph_deploy/hosts/centos/install.py/repository_url_part--crossover with--dataset/ETHPy150Open lisa-lab/pylearn2/pylearn2/models/mlp.py/TanhConvNonlinearity.apply