Transformer What should I put in src_key_padding_mask ?

This is the problem I encountered when implementing “Transformers”. What should I put in src_key_padding_mask (float? bool? byte? int?)?
What is the possible cause of this error?




I don’t know where the possible error is, he didn’t give a hint