Thanks for your reply, in my case, I have input_tensor, target_tensor and label. the target tensors are somehow reconstructed versions of the input tensors and its on;y available for input tensors without labels. For example, I have 500 input samples,   200 of them have labels, and the other 300 hundred doesn’t  have labels but have their corresponding target tensors.