davidtellez / contrastive-predictive-coding

Keras implementation of Representation Learning with Contrastive Predictive Coding
525 stars 120 forks source link

Get "preds" questions #9

Closed zhixuwei closed 4 years ago

zhixuwei commented 4 years ago

Hello David, I have a question about the code. When using context to get preds, the for loop is used to save each result to outputs, but the relationship between each subset of outputs is independent. Why does this ensure that the predicted sequence is in line with the requirements previously specified. I think the order of the subsets of outputs will also affect the final preds, or I still don't understand clearly. Please help me to answer it. Thank you very much! the image