Video SwinTransformer

The Video SwinTransformer model is based on the Video Swin Transformer paper.


The video module is in Beta stage, and backward compatibility is not guaranteed.

Model builders

The following model builders can be used to instantiate a VideoResNet model, with or without pre-trained weights. All the model builders internally rely on the base class. Please refer to the source code for more details about this class.

swin3d_t(*[, weights, progress])

Constructs a swin_tiny architecture from Video Swin Transformer.

swin3d_s(*[, weights, progress])

Constructs a swin_small architecture from Video Swin Transformer.

swin3d_b(*[, weights, progress])

Constructs a swin_base architecture from Video Swin Transformer.


Access comprehensive developer documentation for PyTorch

View Docs


Get in-depth tutorials for beginners and advanced developers

View Tutorials


Find development resources and get your questions answered

View Resources