Извлечь метку из данных TF

y = np.concatenate([y for x, y in ds], axis=0)
Outrageous Osprey