Is there a special tag symbol for sequences?


Is there a special padding symbol that pytorch uses when dealing with sequences?
If I put any constant value, will pytorch identify it as a padding?
Does pytorch (more specifically biLSTMs) deals with padding on a special way (skips, goes faster…) , or there is no such thing?