def num_to_activation(num):
    """
        Converts num to respective activation function
        :param num: activation function num
        :return: activation function string
    """
    d = {
        0: 'LeakyReLU',
        1: 'relu',
        2: 'tanh',
        3: 'sigmoid',
    }

    return d[num]