What these two masks use for? When assigning the variables, the outsample_mask are all one, and the insample_mask are all one except the padding. But when getting batch from dataloader, the outsample_mask slice a length of past, and insample_mask slice a length of future. Is there any connections between them? And what the purpose of these masks. I am confused abouth this.
What these two masks use for? When assigning the variables, the outsample_mask are all one, and the insample_mask are all one except the padding. But when getting batch from dataloader, the outsample_mask slice a length of past, and insample_mask slice a length of future. Is there any connections between them? And what the purpose of these masks. I am confused abouth this.