def cnn_estimate(inputs, network, est_fn):
    """
    Estimated labelf by the trained cnn network

    Inputs
    ======
    inputs: np.ndarray
        The test dataset
    network: lasagne.layers
        The trained cnn network

    Output
    ======
    label_est: np.ndarray
        The estimated labels
    """
    # estimate
    print("Estimating ...")
    label_est = est_fn(inputs)

    return label_est[0]