Thank you very much for your patience and guidance. Now both data and label can be printed separately. If it is used as a data set, do we still need to integrate it like this?
tgt_dataset = TensorDataset(data, label)