def fetch_tfd():
    """ Returns flattened 48x48 TFD faces with pixel values in [0 - 1] """
    data_path = check_fetch_tfd()
    matfile = loadmat(data_path)
    all_data = matfile['images'].reshape(len(matfile['images']), -1) / 255.
    return all_data
dataset/ETHPy150Open kastnerkyle/SciPy2015/graphics_code/cvae/kdl_template.py/fetch_tfd/original