thanks, i am already passing the mask (the transformer decoder is just many layers of the decoder i am using: https://pytorch.org/docs/stable/_modules/torch/nn/modules/transformer.html 28)
i am not getting how to construct the mask?
should i prepare a mask for each pass of the decoding?